Skip to content

Commit f604d01

Browse files
Update cldrpluralruleparser package
Since version 1.4.0 of the package, src/CLDRPluralRuleParser.js is an ES6 module with import/export syntax, so trying to load it directly as a <script> no longer works. Get a browser build from dist/ instead. Change-Id: I75702667f73834455bc5dc84e3aa7c756d821ffb
1 parent 06e41e1 commit f604d01

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ <h5 class="modal-title" id="keyboardShortcutHelpModalLabel" data-i18n="wdqs-dial
475475
<script src="node_modules/jquery.uls/src/jquery.uls.lcd.js"></script>
476476
<script src="node_modules/jquery.uls/src/jquery.uls.languagefilter.js"></script>
477477
<script src="node_modules/jquery.uls/src/jquery.uls.core.js"></script>
478-
<script src="node_modules/cldrpluralruleparser/src/CLDRPluralRuleParser.js"></script>
478+
<script src="node_modules/cldrpluralruleparser/dist/cldrpluralruleparser.js"></script>
479479
<script src="node_modules/@wikimedia/jquery.i18n/src/jquery.i18n.js"></script>
480480
<script src="node_modules/@wikimedia/jquery.i18n/src/jquery.i18n.messagestore.js"></script>
481481
<script src="node_modules/@wikimedia/jquery.i18n/src/jquery.i18n.fallbacks.js"></script>

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"bootstrap": "^3.4.1",
2626
"bootstrap-table": "^1.18.2",
2727
"bootstrap-toggle": "^2.2.2",
28-
"cldrpluralruleparser": "^1.3.2",
28+
"cldrpluralruleparser": "^1.4.0",
2929
"codemirror": "^5.61.0",
3030
"d3": "^3.5.17",
3131
"dimple-js": "^2.1.4",

0 commit comments

Comments
 (0)