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, { this.matcher = new QueryMatcher(EMOJI_SHORTNAMES, {
keys: ['emoji.emoticon', 'shortname'], keys: ['emoji.emoticon', 'shortname'],
funcs: [ funcs: [
// (o) => `:${o.emoji.shortcodes[0]}:`, // shortname
(o) => o.emoji.shortcodes.length > 1 ? o.emoji.shortcodes.slice(1).map(s => `:${s}:`).join(" ") : "", // aliases (o) => o.emoji.shortcodes.length > 1 ? o.emoji.shortcodes.slice(1).map(s => `:${s}:`).join(" ") : "", // aliases
], ],
// For matching against ascii equivalents // For matching against ascii equivalents