This commit is contained in:
mgabdev 2020-05-12 12:22:56 -04:00
parent a028ac2180
commit d6104a2aa7
1 changed files with 3 additions and 3 deletions

View File

@ -55,16 +55,16 @@ Object.keys(emojiMap).forEach(key => {
if (unicodeToFilename(key) !== filename) {
// filename can't be derived using unicodeToFilename
// filenameData.push(filename);
filenameData.push(filename);
}
if (typeof shortcode === 'undefined') {
// emojisWithoutShortCodes.push(filenameData);
emojisWithoutShortCodes.push(filenameData);
} else {
if (!Array.isArray(shortCodesToEmojiData[shortcode])) {
shortCodesToEmojiData[shortcode] = [[]];
}
// shortCodesToEmojiData[shortcode][0].push(filenameData);
shortCodesToEmojiData[shortcode][0].push(filenameData);
}
});