This commit is contained in:
mgabdev 2020-05-12 12:22:56 -04:00
parent a028ac2180
commit d6104a2aa7

View File

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