diff options
| author | Igor Minar | 2013-05-20 16:37:28 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-05-20 16:48:21 -0700 |
| commit | f81431dd724f54290ee9a8c7e23650bc59e0c739 (patch) | |
| tree | 8baf8eb878cb0346d8809b614ce18305ae37f540 /docs/src/templates/index.html | |
| parent | 04bdb9f8138d46d76b328bd06622107b9ad6971b (diff) | |
| download | angular.js-f81431dd724f54290ee9a8c7e23650bc59e0c739.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/src/templates/index.html')
| -rw-r--r-- | docs/src/templates/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html index 9532b258..f1b739b1 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}); @@ -48,12 +48,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'); } |
