summaryrefslogtreecommitdiff
path: root/ext/bg/js/util.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-01-15 12:42:44 -0800
committerAlex Yatskov <alex@foosoft.net>2017-01-15 12:42:44 -0800
commit434ccc18ee22f5dcf0298e6516adf5e8273ecb6d (patch)
treea7bda23c9c69341d7918d81408cf55adbe6c2bb2 /ext/bg/js/util.js
parent0c88d3fa273667d30be3ae8e1ee8da527561aa9e (diff)
dict priority work
Diffstat (limited to 'ext/bg/js/util.js')
-rw-r--r--ext/bg/js/util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/util.js b/ext/bg/js/util.js
index 1e49e33c..900a7a2c 100644
--- a/ext/bg/js/util.js
+++ b/ext/bg/js/util.js
@@ -123,7 +123,7 @@ function groupTermDefs(definitions) {
reading: firstDef.reading,
reasons: firstDef.reasons,
score: groupDefs.reduce((x, y) => x > y ? x : y, Number.MIN_SAFE_INTEGER),
- source: firstDef.source,
+ source: firstDef.source
});
}
@@ -192,7 +192,7 @@ function formatField(field, definition, mode) {
'reading',
'sentence',
'tags',
- 'url',
+ 'url'
];
for (const marker of markers) {