diff options
Diffstat (limited to 'docs/src')
| -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 00aba820..0a5c0ec7 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -109,7 +109,7 @@ exports.ngVersions = function() { //NON_RC_RELEASE_NUMBER is used to signal the non-RC version for the release and //it will always appear at the top of the list since the number is so high! versionMap[baseVersion].push( - version == baseVersion ? NON_RC_RELEASE_NUMBER : parseInt(version.match(/rc(\d+)/)[1])); + version == baseVersion ? NON_RC_RELEASE_NUMBER : parseInt(version.match(/rc\.?(\d+)/)[1])); }; //flatten the map so that the RC versions occur in a natural sorted order |
