diff options
| author | Igor Minar | 2012-11-08 22:15:27 +0100 | 
|---|---|---|
| committer | Igor Minar | 2012-11-08 22:18:34 +0100 | 
| commit | 51bed363706d68e89f51b8782794fc92512d011a (patch) | |
| tree | 2d32110e1b5bc9982d4ad78f681d337ca990a757 /docs | |
| parent | 6d940213ac7ad12b5c64799fe740b74cee13676d (diff) | |
| download | angular.js-51bed363706d68e89f51b8782794fc92512d011a.tar.bz2 | |
chore(docs): fix docs-scenario.html
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/src/templates/docs-scenario.html | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/src/templates/docs-scenario.html b/docs/src/templates/docs-scenario.html index f1816947..b2e07115 100644 --- a/docs/src/templates/docs-scenario.html +++ b/docs/src/templates/docs-scenario.html @@ -3,7 +3,7 @@  <head>    <title>AngularJS Docs E2E Test Runner</title>    <script> -    var gae = (location.pathname.split('/').length == 2), +    var production = location.hostname === 'docs.angularjs.org',          headEl = document.head,          angularVersion = {            current: '"NG_VERSION_FULL"', // rewrite during build @@ -33,9 +33,8 @@      function path(name) { -      return gae -          ? 'http://code.angularjs.org/' + angularVersion.stable + '/' + -              name.replace(/\.js$/, '-' + angularVersion.stable + '.js') +      return production +          ? 'http://code.angularjs.org/' + angularVersion.stable + '/' + name            : '../' + name;      }    </script>  | 
