aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-02-14 01:12:28 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2020-02-14 01:12:28 +0200
commite645296b1b5e993355844f2cb2b026b87d05759e (patch)
treec044b99cebfd10c27c8cc90700ba782468441a54 /ext/bg/js/translator.js
parentaf89659751f72ae282f2c81d797cc224d1077b0a (diff)
fix Map set in Translator.buildTermFrequencies
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r--ext/bg/js/translator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index 81c2464b..6d5dd50a 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -460,7 +460,7 @@ class Translator {
termList = [];
expressionsUnique.push(expression);
termsUnique.push(termList);
- termsUniqueMap[expression] = termList;
+ termsUniqueMap.set(expression, termList);
}
termList.push(term);