You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a long string of emoji data in emoji.min.js and again but different in defaults.emojiData. Can we have just one? Where does the latter come from? Did you create the latter one yourself, or could it be a dependency?
Yep, you are right. I created a new object because I wanted performance gain for the loops. (mainly for this function: wdtEmojiBundle.fillPickerPopup())
It would be nice to have just one object, maybe we can find a better way. And this bundle uses sheets instead of single images.
We have a long string of emoji data in
emoji.min.js
and again but different indefaults.emojiData
. Can we have just one? Where does the latter come from? Did you create the latter one yourself, or could it be a dependency?emoji.min.js
->js-emoji
defaults.emojiData
I think you could deprecate the dependency on
js-emoji
and useemojiData
to define images in the layout.E.g. in stead of
use separate function for something like
it returns the image (or
undefined
)The text was updated successfully, but these errors were encountered: