aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/query-parser.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/display/query-parser.js')
-rw-r--r--ext/js/display/query-parser.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/js/display/query-parser.js b/ext/js/display/query-parser.js
index cc193a06..bafa9045 100644
--- a/ext/js/display/query-parser.js
+++ b/ext/js/display/query-parser.js
@@ -20,10 +20,9 @@
*/
class QueryParser extends EventDispatcher {
- constructor({getSearchContext, documentUtil, japaneseUtil}) {
+ constructor({getSearchContext, japaneseUtil}) {
super();
this._getSearchContext = getSearchContext;
- this._documentUtil = documentUtil;
this._japaneseUtil = japaneseUtil;
this._text = '';
this._setTextToken = null;
@@ -39,7 +38,6 @@ class QueryParser extends EventDispatcher {
this._textScanner = new TextScanner({
node: this._queryParser,
getSearchContext,
- documentUtil,
searchTerms: true,
searchKanji: false,
searchOnClick: true