remove dead code

This commit is contained in:
siikamiika 2019-11-11 01:03:35 +02:00
parent c1d24208d3
commit 8d9a635d5c

View File

@ -154,19 +154,4 @@ class QueryParser {
this.onMouseLeave(e); this.onMouseLeave(e);
}); });
} }
async parseText(text) {
const results = [];
while (text) {
const {definitions, length} = await apiTermsFind(text, {}, this.search.getOptionsContext());
if (length) {
results.push(definitions);
text = text.slice(length);
} else {
results.push(text[0]);
text = text.slice(1);
}
}
return results;
}
} }