diff options
| author | Narretz | 2014-01-05 18:00:17 +0100 |
|---|---|---|
| committer | Igor Minar | 2014-01-10 02:22:27 -0800 |
| commit | 36c9e42de2d78af39600c588b06f2a52199ee8b6 (patch) | |
| tree | 087f286fe47a8e6378b020891c75f42df5a00421 /docs/src/ngdoc.js | |
| parent | 9f566db33c29f2b5ff6affeebd624340f618884e (diff) | |
| download | angular.js-36c9e42de2d78af39600c588b06f2a52199ee8b6.tar.bz2 | |
docs: fix the 'view source' button for snapshots
Closes #5590
Closes #5641
Diffstat (limited to 'docs/src/ngdoc.js')
| -rw-r--r-- | docs/src/ngdoc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index c009c950..77c01b77 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -552,7 +552,7 @@ Doc.prototype = { minerrMsg; var gitTagFromFullVersion = function(version) { - var match = version.match(/-(\w{7})/); + var match = version.match(/sha\.(\w{7})/); if (match) { // git sha |
