remove dead code
This commit is contained in:
parent
c1d24208d3
commit
8d9a635d5c
@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user