mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
minor: Fix comments for frequently used emojis.
I think it's a known problem that we don't match on common aliases for our top N emojis, but I don't attempt to address that here. I just made the comments reflect the names we use in our current data structures.
This commit is contained in:
@@ -11,12 +11,17 @@ var APPROX_WIDTH = 255;
|
||||
// and composing a message with an emoji share a single widget,
|
||||
// implemented as the emoji_popover.
|
||||
exports.complete_emoji_catalog = [];
|
||||
|
||||
// Unfortunately, this list does not currently match on
|
||||
// alias names like party_popper, simple_smile, and
|
||||
// hammer_and_wrench. But thumbs_up sorts to the top
|
||||
// for some other reason.
|
||||
exports.frequently_used_emojis_list = [
|
||||
'1f44d', // thumbs_up
|
||||
'1f389', // party_popper
|
||||
'1f642', // simple_smile
|
||||
'1f44d', // +1
|
||||
'1f389', // tada
|
||||
'1f642', // slight_smile
|
||||
'2764', // heart
|
||||
'1f6e0', // hammer_and_wrench
|
||||
'1f6e0', // working_on_it
|
||||
'1f419', // octopus
|
||||
];
|
||||
var current_message_emoji_popover_elem;
|
||||
|
||||
Reference in New Issue
Block a user