aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-17 11:16:38 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-17 11:16:38 +0300
commit81f0a616519d1cea66ee54ec47c5da868a208ef6 (patch)
tree698c00fbe40918737cb7f202319501742c1bb64b /ext/bg/js/translator.js
parent1edeabdaa8861e149cd7f76f58d97aa127117f79 (diff)
merged mode: Anki support
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r--ext/bg/js/translator.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index bf347343..70b01ce3 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -128,8 +128,9 @@ class Translator {
result.expressions = expressions;
- // result.expression = Array.from(result.expression).join(', ');
- // result.reading = Array.from(result.reading).join(', ');
+ result.expression = Array.from(result.expression);
+ result.reading = Array.from(result.reading);
+
definitionsMerged.push(result);
}