diff options
| author | Igor Minar | 2013-05-20 16:37:28 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-05-21 03:39:36 -0700 |
| commit | d458d7350b8a26752e649bd2b8d061137d0247de (patch) | |
| tree | 217c047619d20c212888810fa9afaac8b9e54997 /docs | |
| parent | eb21eb5a06814e061983570e7e5b67322dc9e9ed (diff) | |
| download | angular.js-d458d7350b8a26752e649bd2b8d061137d0247de.tar.bz2 | |
chore(package.json): kill version.yaml in favor of package.json
all versioning info is now in package.json and that's where the build scripts read it from
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/src/templates/docs-scenario.html | 4 | ||||
| -rw-r--r-- | docs/src/templates/index.html | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/src/templates/docs-scenario.html b/docs/src/templates/docs-scenario.html index b2e07115..2eca5f87 100644 --- a/docs/src/templates/docs-scenario.html +++ b/docs/src/templates/docs-scenario.html @@ -7,7 +7,7 @@ headEl = document.head, angularVersion = { current: '"NG_VERSION_FULL"', // rewrite during build - stable: '"NG_VERSION_STABLE"' + cdn: '"NG_VERSION_CDN"' }; addTag('script', {src: path('angular-scenario.js')}, function() { @@ -34,7 +34,7 @@ function path(name) { return production - ? 'http://code.angularjs.org/' + angularVersion.stable + '/' + name + ? 'http://code.angularjs.org/' + angularVersion.cdn + '/' + name : '../' + name; } </script> diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html index 5252605e..6054f813 100644 --- a/docs/src/templates/index.html +++ b/docs/src/templates/index.html @@ -27,7 +27,7 @@ sync = true, angularVersion = { current: '"NG_VERSION_FULL"', // rewrite during build - stable: '"NG_VERSION_STABLE"' + cdn: '"NG_VERSION_CDN"' }; addTag('base', {href: baseUrl}); @@ -51,12 +51,12 @@ if (production) { if (name.match(/^angular(-\w+)?\.js/) && !name.match(/bootstrap/)) { name = '//ajax.googleapis.com/ajax/libs/angularjs/' + - angularVersion.stable + + angularVersion.cdn + '/' + name.replace(/\.js$/, '.min.js'); } else { name = 'http://code.angularjs.org/' + - angularVersion.stable + + angularVersion.cdn + '/' + name.replace(/\.js$/, '.min.js'); } |
