Skip to content

Commit a5041f4

Browse files
committed
Try to make codespell happy
1 parent 9913fb7 commit a5041f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web/versioning.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function versionSplit(v) {
5353
* @return {Number} A negative number if v2 represents a version
5454
* smaller than v1 (ignoring the suffix), 0 if
5555
* equal (again, ignoring the suffix), and a
56-
* positive number otheriwse.
56+
* positive number otherwise.
5757
*/
5858
function compareVN(v1, v2) {
5959
for (var i = 0; i < 3; i++) {
@@ -76,9 +76,9 @@ function compareVN(v1, v2) {
7676
* v2 == v1, and a positive number otherwise.
7777
*/
7878
function compareV(v1, v2) {
79-
var nd = compareVN(v1, v2);
80-
if (nd != 0) {
81-
return nd;
79+
var n = compareVN(v1, v2);
80+
if (n != 0) {
81+
return n;
8282
}
8383
else {
8484
return -v1.suffix.localeCompare(v2.suffix);

0 commit comments

Comments
 (0)