diff options
| author | Di Peng | 2011-07-20 19:27:59 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-07-26 14:21:13 -0700 |
| commit | bee78a84922da51de647af96fe86f75b1322d3d9 (patch) | |
| tree | cc407ce8733d782a2b5d08df025a410e8f500c06 /docs/src/templates/docs.js | |
| parent | f3e04fbd6a3ce9d84dec5052233a0712c2273859 (diff) | |
| download | angular.js-bee78a84922da51de647af96fe86f75b1322d3d9.tar.bz2 | |
feat(docs): add a changelog link to the footer
Diffstat (limited to 'docs/src/templates/docs.js')
| -rw-r--r-- | docs/src/templates/docs.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/src/templates/docs.js b/docs/src/templates/docs.js index 1040f2c2..ab2d836a 100644 --- a/docs/src/templates/docs.js +++ b/docs/src/templates/docs.js @@ -5,6 +5,12 @@ function DocsController($location, $browser, $window) { var self = this; this.$location = $location; + self.versionNumber = angular.version.full; + self.version = angular.version.full + " " + angular.version.codeName; + self.cookieName = "angularPref"; + self.subpage = false; + self.offlineEnabled = (document.cookie.indexOf(self.cookieName) !== -1); + if (!HAS_HASH.test($location.href)) { $location.hashPath = '!/api'; } @@ -67,7 +73,6 @@ function DocsController($location, $browser, $window) { "subject=" + escape("Feedback on " + $location.href) + "&" + "body=" + escape("Hi there,\n\nI read " + $location.href + " and wanted to ask ...."); }; - } // prevent compilation of code |
