aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/index.html
diff options
context:
space:
mode:
authorIgor Minar2013-05-20 16:37:28 -0700
committerIgor Minar2013-05-21 03:39:36 -0700
commitd458d7350b8a26752e649bd2b8d061137d0247de (patch)
tree217c047619d20c212888810fa9afaac8b9e54997 /docs/src/templates/index.html
parenteb21eb5a06814e061983570e7e5b67322dc9e9ed (diff)
downloadangular.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/src/templates/index.html')
-rw-r--r--docs/src/templates/index.html6
1 files changed, 3 insertions, 3 deletions
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');
}