{"action":"closed","issue":{"url":"https://api.github.com/repos/muan/emojilib/issues/34","labels_url":"https://api.github.com/repos/muan/emojilib/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/muan/emojilib/issues/34/comments","events_url":"https://api.github.com/repos/muan/emojilib/issues/34/events","html_url":"https://github.com/muan/emojilib/issues/34","id":124082878,"number":34,"title":"Remove the `keys` array","user":{"login":"IonicaBizau","id":2864371,"avatar_url":"https://avatars.githubusercontent.com/u/2864371?v=3","gravatar_id":"","url":"https://api.github.com/users/IonicaBizau","html_url":"https://github.com/IonicaBizau","followers_url":"https://api.github.com/users/IonicaBizau/followers","following_url":"https://api.github.com/users/IonicaBizau/following{/other_user}","gists_url":"https://api.github.com/users/IonicaBizau/gists{/gist_id}","starred_url":"https://api.github.com/users/IonicaBizau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IonicaBizau/subscriptions","organizations_url":"https://api.github.com/users/IonicaBizau/orgs","repos_url":"https://api.github.com/users/IonicaBizau/repos","events_url":"https://api.github.com/users/IonicaBizau/events{/privacy}","received_events_url":"https://api.github.com/users/IonicaBizau/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-28T15:46:28Z","updated_at":"2016-01-26T18:12:31Z","closed_at":"2016-01-26T18:12:31Z","body":"Do we we really need the [`keys`](\r\nhttps://github.com/muan/emojilib/blob/82011ba2c732c89ce73cd0bc6ad3a060ebadff5d/emojis.json#L4312) array? It can be easily obtained using `Object.keys(emoji)`. :thought_balloon: \r\n\r\nCurrently I causes some trouble because I want to check if a word is emoji, so `emoji[myWord]` will fail for `myWord === \"keys\"` (it's not an emoji object but an array). \r\n\r\nLooks like it's anyway causing some problems on the Emoji Searcher page:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2864371/12020983/b6db8082-ad8a-11e5-96bd-444800e6c2b9.png)\r\n\r\nI'm almost sure there is no `:keys:` aliased with `:-1:` but it's just an issue because of the `keys` object.\r\n\r\nSo, is the `keys` array really needed? I would vote to be removed. :balloon: "}}