summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-25 14:41:26 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-26 22:06:27 -0500
commitdf9e697fca759afeaa794e6370d612bbc1ef17e0 (patch)
tree6cb85432215748c8a701808e9e35096eb025f12f /ext/bg/js
parentacb70f126cd87234b442fd599061f1b7539c846b (diff)
Remove trailing commas
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/deinflector.js2
-rw-r--r--ext/bg/js/search-query-parser.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/deinflector.js b/ext/bg/js/deinflector.js
index e2fb7461..51f4723c 100644
--- a/ext/bg/js/deinflector.js
+++ b/ext/bg/js/deinflector.js
@@ -88,5 +88,5 @@ Deinflector.ruleTypes = {
'vs': 0b0000100, // Verb suru
'vk': 0b0001000, // Verb kuru
'adj-i': 0b0010000, // Adjective i
- 'iru': 0b0100000, // Intermediate -iru endings for progressive or perfect tense
+ 'iru': 0b0100000 // Intermediate -iru endings for progressive or perfect tense
};
diff --git a/ext/bg/js/search-query-parser.js b/ext/bg/js/search-query-parser.js
index 2bf24ce3..74ef32d8 100644
--- a/ext/bg/js/search-query-parser.js
+++ b/ext/bg/js/search-query-parser.js
@@ -220,7 +220,7 @@ class QueryParser {
return {
text: Array.from(part.text),
reading: part.reading,
- raw: !part.reading || !part.reading.trim(),
+ raw: !part.reading || !part.reading.trim()
};
});
});