summaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-09-10 22:51:04 -0700
committerAlex Yatskov <alex@foosoft.net>2016-09-10 22:51:04 -0700
commit1ac14cd633b3a99a3dd8ec8d0ec29158077b3798 (patch)
tree0bb7331decb70d9ea1edd6b642a7895a2a18e202 /ext/bg/js/translator.js
parent64d6b8761d512ca608e1d1aedc14bebd3581283f (diff)
WIP
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 9987f820..9b7b4bf5 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -73,7 +73,7 @@ class Translator {
);
}
- return Promise.all(deinflectPromises).then(Promise.resolve(groups));
+ return Promise.all(deinflectPromises).then(() => groups);
}
findTerm(text) {