remove unused, commented line of code

This commit is contained in:
Michael Telatynski 2019-12-19 17:22:02 +00:00
parent d35b01b63a
commit a25bc94343

View file

@ -68,7 +68,6 @@ export default class EmojiProvider extends AutocompleteProvider {
this.matcher = new QueryMatcher(EMOJI_SHORTNAMES, {
keys: ['emoji.emoticon', 'shortname'],
funcs: [
// (o) => `:${o.emoji.shortcodes[0]}:`, // shortname
(o) => o.emoji.shortcodes.length > 1 ? o.emoji.shortcodes.slice(1).map(s => `:${s}:`).join(" ") : "", // aliases
],
// For matching against ascii equivalents