mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
remove unused, commented line of code
This commit is contained in:
parent
d35b01b63a
commit
a25bc94343
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user