소스 검색

linting fix for lt i18n file

Maarten Brouwers 9 년 전
부모
커밋
89dcfef94b
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      src/js/select2/i18n/lt.js

+ 5 - 2
src/js/select2/i18n/lt.js

@@ -1,9 +1,12 @@
 define(function () {
-  // rules from http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#lt
+  // rules from
+  // http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#lt
   function ending(count, one, few, other) {
     if (count % 10 === 1 && (count % 100 < 11 || count % 100 > 19)) {
       return one;
-    } else if ((count % 10 >= 2 && count % 10 <= 9) && (count % 100 < 11 || count % 100 > 19)) {
+    } else if (
+      (count % 10 >= 2 && count % 10 <= 9) &&
+      (count % 100 < 11 || count % 100 > 19)) {
       return few;
     } else {
       return other;