Updated CLDRPluralRuleParser from upstream
authorSanthosh Thottingal <santhosh.thottingal@gmail.com>
Mon, 17 Sep 2012 21:36:23 +0000 (14:36 -0700)
committerSanthosh Thottingal <santhosh.thottingal@gmail.com>
Mon, 17 Sep 2012 21:36:23 +0000 (14:36 -0700)
* A minor fix for an implied global variable
  See https://github.com/santhoshtr/CLDRPluralRuleParser/commit/42fdda60370b130c4f544992d70278a100983508

Change-Id: Ib842145a2a8b4e1821d49edbdc729b7b58b1cf46

resources/mediawiki.libs/CLDRPluralRuleParser.js

index 91bdc07..441bc91 100644 (file)
@@ -207,6 +207,7 @@ function pluralRuleParser(rule, number) {
        }
 
        function range() {
+               var i;
                var result = sequence([digits, _range_, digits]);
                if (result !== null) {
                        debug(" -- passed range");