GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(docs): fix docs-scenario.html · splondike/angular.js@8650843

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs/src/templates
    • docs-scenario.html
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/src/templates/docs-scenario.html‎

Copy file name to clipboardExpand all lines: docs/src/templates/docs-scenario.html
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<title>AngularJS Docs E2E Test Runner</title>
55
<script>
6-
var gae = (location.pathname.split('/').length == 2),
6+
var production = location.hostname === 'docs.angularjs.org',
77
headEl = document.head,
88
angularVersion = {
99
current: '"NG_VERSION_FULL"', // rewrite during build
@@ -33,9 +33,8 @@
3333

3434

3535
function path(name) {
36-
return gae
37-
? 'http://code.angularjs.org/' + angularVersion.stable + '/' +
38-
name.replace(/\.js$/, '-' + angularVersion.stable + '.js')
36+
return production
37+
? 'http://code.angularjs.org/' + angularVersion.stable + '/' + name
3938
: '../' + name;
4039
}
4140
</script>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.