Commit Graph

3 Commits (aa8568b7f2f9043056fa7a2bb9b59ef31d63554c)

Author SHA1 Message Date
Eugen Rochko 2ee779dcd3
Update emoji codepoint mappings to v11.0 ()
Nolan Lawson fd7f0732fe Compress and combine emoji data ()
Eugen Rochko 510df0ac55 Fix emojify() by generating a mapping to existing Twemoji files ()
A new rake task emojis:generate downloads a full list of valid
unicode sequences from unicode.org and checks it against existing
Twemoji files, finally generating a map from each sequence to the
existing file (e.g. when there's multiple ways an emoji can be
expressed). The map is dumped into app/javascript/mastodon/emoji_map.json

That file is loaded by emojione_light.js (now a misnomer) which
decorates it further with shortcodes taken from emoji-mart's index.