mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(ngdoc): fix misspellling of Naturally in sortVersionsNatrually
Corrects "sortVersionsNatrually" method name in `ngdoc.js` in "sortVersionsNaturally"
This commit is contained in:
parent
dd24c78373
commit
c5f69e3f64
1 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ exports.ngVersions = function() {
|
|||
});
|
||||
|
||||
//match the future version of AngularJS that is set in the package.json file
|
||||
return expandVersions(sortVersionsNatrually(versions), exports.ngCurrentVersion().full);
|
||||
return expandVersions(sortVersionsNaturally(versions), exports.ngCurrentVersion().full);
|
||||
|
||||
function expandVersions(versions, latestVersion) {
|
||||
var RC_VERSION = /rc\d/;
|
||||
|
|
@ -87,7 +87,7 @@ exports.ngVersions = function() {
|
|||
return expanded;
|
||||
};
|
||||
|
||||
function sortVersionsNatrually(versions) {
|
||||
function sortVersionsNaturally(versions) {
|
||||
var versionMap = {},
|
||||
NON_RC_RELEASE_NUMBER = 999;
|
||||
for(var i = versions.length - 1; i >= 0; i--) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue