aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/dictionary.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-01 22:30:30 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-01 22:30:30 -0700
commit036639aeafccfa20db0edd4780abbd391da74922 (patch)
treef753d74832f4e0c3efa49926f6883445d5bd18da /ext/bg/dictionary.js
parent92e62c798d750766fe6631cc4b1e9d67efe788f6 (diff)
Fixes
Diffstat (limited to 'ext/bg/dictionary.js')
-rw-r--r--ext/bg/dictionary.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/dictionary.js b/ext/bg/dictionary.js
index d1b9e6b1..1264263a 100644
--- a/ext/bg/dictionary.js
+++ b/ext/bg/dictionary.js
@@ -28,7 +28,7 @@ class Dictionary {
addTermData(terms) {
let index = this.terms.length;
- for (const [e, r, g, t] in terms) {
+ for (const [e, r, g, t] of terms) {
this.storeIndex(this.termIndices, e, index);
this.storeIndex(this.termIndices, r, index++);
this.terms.push([e, r, g, t]);
@@ -37,7 +37,7 @@ class Dictionary {
addKanjiData(kanji) {
let index = this.kanji.length;
- for (const [c, k, o, g] in kanji) {
+ for (const [c, k, o, g] of kanji) {
this.storeIndex(this.kanjiIndices, c, index++);
this.kanji.push([c, k, o, g]);
}