summaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-12-17 17:42:41 -0800
committerAlex Yatskov <alex@foosoft.net>2016-12-17 17:42:41 -0800
commit5c94923264475b08c5b6b3bf37829dec146dd7de (patch)
tree6d4121fb5b47c3291a68c39e795b2a82c254eb98 /ext/bg/js/translator.js
parentadbfbbbaa135face6e583add41785caa3c056a30 (diff)
WIP
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r--ext/bg/js/translator.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index bff0082b..e7a739b3 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -32,13 +32,11 @@ class Translator {
const promises = [
loadJsonInt('bg/data/rules.json'),
- loadJsonInt('bg/data/tags.json'),
this.database.prepare()
];
- return Promise.all(promises).then(([rules, tags]) => {
+ return Promise.all(promises).then(([rules]) => {
this.deinflector.setRules(rules);
- this.tagMeta = tags;
this.loaded = true;
});
}