Skip to content

Commit

Permalink
chore(ngdoc): fix misspellling of Naturally in sortVersionsNatrually
Browse files Browse the repository at this point in the history
Corrects "sortVersionsNatrually" method name in `ngdoc.js` in "sortVersionsNaturally"
  • Loading branch information
Nicolas Leger authored and tbosch committed Feb 5, 2014
1 parent dd24c78 commit c5f69e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/ngdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/;
Expand Down Expand Up @@ -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--) {
Expand Down

0 comments on commit c5f69e3

Please sign in to comment.