joypixels / emojione

[Archived] The world's largest independent emoji font. Maintained at https://github.com/joypixels/emoji-toolkit.
https://www.joypixels.com
Other
4.46k stars 533 forks source link

In emoji.json the `genders` array for emojis with genders is always [null, null] #528

Closed lepolt closed 7 years ago

lepolt commented 7 years ago

Emojis without a gender option just has an empty array... I was under the assumption (as documented in UPGRADE.md), that the genders array would "contain the base code points of the gender children for a gender parent (gender-neutral, gender base)."

For example, "1f482": { "name": "guard", "gender": null, "genders": [null, null] } "1f482-2642": { "name": "man guard", "gender": "2642", "genders": [] } "1f482-2640": { "name": "woman guard", "gender": "2640", "genders": [] }

caseyahenson commented 7 years ago

@lepolt thanks for pointing this out, it's definitely intended to be the primary key of the gender children. We'll be pushing an update to that file in the next day or two to fix the issue.

caseyahenson commented 7 years ago

This is resolved in the 3.1.1 update.