Skip to content

Commit 3663b44

Browse files
committed
Merge pull request select2#4338 from murb/lt-file-jshint-fix
linting fix for lt i18n file
2 parents f3b91d0 + 89dcfef commit 3663b44

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/js/select2/i18n/lt.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
define(function () {
2-
// rules from http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#lt
2+
// rules from
3+
// http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#lt
34
function ending(count, one, few, other) {
45
if (count % 10 === 1 && (count % 100 < 11 || count % 100 > 19)) {
56
return one;
6-
} else if ((count % 10 >= 2 && count % 10 <= 9) && (count % 100 < 11 || count % 100 > 19)) {
7+
} else if (
8+
(count % 10 >= 2 && count % 10 <= 9) &&
9+
(count % 100 < 11 || count % 100 > 19)) {
710
return few;
811
} else {
912
return other;

0 commit comments

Comments
 (0)