1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 15:27:43 +00:00

3.5.395. Clean up /renamegroup command. Hard-coded modifier emotes still suck. Fix modifiers sticking to emoji.

This commit is contained in:
SirStendec 2016-12-10 22:54:53 -05:00
parent 0fbd226788
commit 439f2c32ae
8 changed files with 66 additions and 52 deletions

View file

@ -973,6 +973,14 @@ module.exports = FFZ.utils = {
}
},
utf8_encode: function(text) {
return unescape(encodeURIComponent(text))
},
utf8_decode: function(text) {
return decodeURIComponent(escape(text));
},
emote_css: function(emote) {
var output = '';
if ( ! emote.margins && (!emote.modifier || (! emote.modifier_offset && ! emote.extra_width && ! emote.shrink_to_fit)) && ! emote.css )