Get rid of stripped-emoji.json in favour of an in-memory single truth source
This commit is contained in:
parent
f30e919f9e
commit
d35b01b63a
11 changed files with 115 additions and 122 deletions
|
@ -71,6 +71,7 @@ export default class QueryMatcher {
|
|||
}
|
||||
|
||||
for (const keyValue of keyValues) {
|
||||
if (!keyValue) continue; // skip falsy keyValues
|
||||
const key = stripDiacritics(keyValue).toLowerCase();
|
||||
if (!this._items.has(key)) {
|
||||
this._items.set(key, []);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue