Skip to content

Commit c5f69e3

Browse files
Nicolas Legertbosch
Nicolas Leger
authored andcommitted
chore(ngdoc): fix misspellling of Naturally in sortVersionsNatrually
Corrects "sortVersionsNatrually" method name in `ngdoc.js` in "sortVersionsNaturally"
1 parent dd24c78 commit c5f69e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/ngdoc.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ exports.ngVersions = function() {
5151
});
5252

5353
//match the future version of AngularJS that is set in the package.json file
54-
return expandVersions(sortVersionsNatrually(versions), exports.ngCurrentVersion().full);
54+
return expandVersions(sortVersionsNaturally(versions), exports.ngCurrentVersion().full);
5555

5656
function expandVersions(versions, latestVersion) {
5757
var RC_VERSION = /rc\d/;
@@ -87,7 +87,7 @@ exports.ngVersions = function() {
8787
return expanded;
8888
};
8989

90-
function sortVersionsNatrually(versions) {
90+
function sortVersionsNaturally(versions) {
9191
var versionMap = {},
9292
NON_RC_RELEASE_NUMBER = 999;
9393
for(var i = versions.length - 1; i >= 0; i--) {

0 commit comments

Comments
 (0)