The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/packages/rocketchat-emoji-emojione
Marcos Spessatto Defendi 59893d70d2 Depackaging (#13483) 6 years ago
..
client Revert imports of css, reAdd them to the addFiles function (#12934) 7 years ago
lib Depackaging (#13483) 6 years ago
server Depackaging (#13483) 6 years ago
.gitignore Fix emojis 9 years ago
README.md Fix emojis 9 years ago
emojione.sprites.mustache Fix emojis 9 years ago
package.js Depackaging (#13483) 6 years ago

README.md

Updating emojione

Generate new category map variable for emojipicker

Create a file called emoji.json on this directory with the content of the file https://github.com/Ranks/emojione/blob/master/emoji.json

After that, run:

node generateEmojiIndex.js

Grab the result and update the file emojiPicker.js.

Generate new percentage sprite

Clone the repository https://github.com/Ranks/emojione/ and replace the file assets/sprites/emojione.sprites.mustache with the content of emojione.sprites.mustache, then run at emojione folder:

grunt sprite
sass --sourcemap=none assets/sprites/emojione.sprites.scss sprites.css

And replace the file sprites.css at Rocket.Chat's /packages/rocketchat-emoji-emojione/sprites.css.