{"action":"opened","issue":{"url":"https://api.github.com/repos/twitter/twemoji/issues/135","repository_url":"https://api.github.com/repos/twitter/twemoji","labels_url":"https://api.github.com/repos/twitter/twemoji/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/twitter/twemoji/issues/135/comments","events_url":"https://api.github.com/repos/twitter/twemoji/issues/135/events","html_url":"https://github.com/twitter/twemoji/issues/135","id":145551727,"number":135,"title":"Error while the 1st argument of twemoji.parse is undefined ","user":{"login":"josephj","id":136648,"avatar_url":"https://avatars.githubusercontent.com/u/136648?v=3","gravatar_id":"","url":"https://api.github.com/users/josephj","html_url":"https://github.com/josephj","followers_url":"https://api.github.com/users/josephj/followers","following_url":"https://api.github.com/users/josephj/following{/other_user}","gists_url":"https://api.github.com/users/josephj/gists{/gist_id}","starred_url":"https://api.github.com/users/josephj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephj/subscriptions","organizations_url":"https://api.github.com/users/josephj/orgs","repos_url":"https://api.github.com/users/josephj/repos","events_url":"https://api.github.com/users/josephj/events{/privacy}","received_events_url":"https://api.github.com/users/josephj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-03T23:21:36Z","updated_at":"2016-04-03T23:21:36Z","closed_at":null,"body":"It gets error when the 1st arg of twemoji.parse method is undefined. \r\n\r\n```js\r\nvar message;\r\ntry {\r\n  twemoji.parse(message)        \r\n} catch (e) {\r\n  console.error(e.message);\r\n}\r\n```\r\n![js_bin](https://cloud.githubusercontent.com/assets/136648/14235585/253a000a-fa46-11e5-998b-74a8badaecc1.png)\r\n\r\nSo I always need to convert the value manually to avoid the error (`message = message || ''`) which is not very convenient. \r\n\r\nLive Example:\r\nhttp://jsbin.com/kahaca/edit?html,console\r\n\r\n"}}