Run prettier

release
Peder Johnsen 2019-03-23 21:15:47 +00:00
parent 5c64cc6908
commit 5570a7ce1a
1 changed files with 3 additions and 3 deletions

View File

@ -140,7 +140,7 @@ function getData(emoji, skin, set, data) {
function getEmojiDataFromNative(nativeString, set, data) { function getEmojiDataFromNative(nativeString, set, data) {
if (data.compressed) { if (data.compressed) {
uncompress(data); uncompress(data)
} }
const skinTones = ['🏻', '🏼', '🏽', '🏾', '🏿'] const skinTones = ['🏻', '🏼', '🏽', '🏾', '🏿']
@ -157,7 +157,7 @@ function getEmojiDataFromNative(nativeString, set, data) {
} }
}) })
let emojiData; let emojiData
for (let id in data.emojis) { for (let id in data.emojis) {
let emoji = data.emojis[id] let emoji = data.emojis[id]
@ -165,7 +165,7 @@ function getEmojiDataFromNative(nativeString, set, data) {
let emojiUnified = emoji.unified let emojiUnified = emoji.unified
if (emoji.variations && emoji.variations.length) { if (emoji.variations && emoji.variations.length) {
emojiUnified = emoji.variations.shift() emojiUnified = emoji.variations.shift()
} }
if (skin && emoji.skin_variations && emoji.skin_variations[skinCode]) { if (skin && emoji.skin_variations && emoji.skin_variations[skinCode]) {