{"action":"created","issue":{"url":"https://api.github.com/repos/mcollina/msgpack5/issues/26","labels_url":"https://api.github.com/repos/mcollina/msgpack5/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/mcollina/msgpack5/issues/26/comments","events_url":"https://api.github.com/repos/mcollina/msgpack5/issues/26/events","html_url":"https://github.com/mcollina/msgpack5/issues/26","id":90534080,"number":26,"title":"Use msgpack5 in the browser","user":{"login":"drawmindmap","id":10971821,"avatar_url":"https://avatars.githubusercontent.com/u/10971821?v=3","gravatar_id":"","url":"https://api.github.com/users/drawmindmap","html_url":"https://github.com/drawmindmap","followers_url":"https://api.github.com/users/drawmindmap/followers","following_url":"https://api.github.com/users/drawmindmap/following{/other_user}","gists_url":"https://api.github.com/users/drawmindmap/gists{/gist_id}","starred_url":"https://api.github.com/users/drawmindmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drawmindmap/subscriptions","organizations_url":"https://api.github.com/users/drawmindmap/orgs","repos_url":"https://api.github.com/users/drawmindmap/repos","events_url":"https://api.github.com/users/drawmindmap/events{/privacy}","received_events_url":"https://api.github.com/users/drawmindmap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-24T01:21:34Z","updated_at":"2015-07-04T06:02:51Z","closed_at":null,"body":"I get this error when i use msgpack5 in the browser:\r\nmsgpack5_bundle.js:3015 Uncaught TypeError: this.once is not a function\r\n\r\n    <!DOCTYPE html>\r\n    <head>\r\n      <meta charset=\"UTF-8\">\r\n      <title>Test msgpack5</title>\r\n      <script src=\"msgpack5_bundle.js\"></script>\r\n      <script>\r\n    function init() {\r\n      msgpack = msgpack5();\r\n      console.log(msgpack.decode(msgpack.encode('Test')));\r\n    }\r\n      </script>\r\n    </head>\r\n    <body onload=\"init()\">\r\n    </body>\r\n    </html>"},"comment":{"url":"https://api.github.com/repos/mcollina/msgpack5/issues/comments/118467362","html_url":"https://github.com/mcollina/msgpack5/issues/26#issuecomment-118467362","issue_url":"https://api.github.com/repos/mcollina/msgpack5/issues/26","id":118467362,"user":{"login":"cxh80301983","id":1124832,"avatar_url":"https://avatars.githubusercontent.com/u/1124832?v=3","gravatar_id":"","url":"https://api.github.com/users/cxh80301983","html_url":"https://github.com/cxh80301983","followers_url":"https://api.github.com/users/cxh80301983/followers","following_url":"https://api.github.com/users/cxh80301983/following{/other_user}","gists_url":"https://api.github.com/users/cxh80301983/gists{/gist_id}","starred_url":"https://api.github.com/users/cxh80301983/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxh80301983/subscriptions","organizations_url":"https://api.github.com/users/cxh80301983/orgs","repos_url":"https://api.github.com/users/cxh80301983/repos","events_url":"https://api.github.com/users/cxh80301983/events{/privacy}","received_events_url":"https://api.github.com/users/cxh80301983/received_events","type":"User","site_admin":false},"created_at":"2015-07-04T06:02:51Z","updated_at":"2015-07-04T06:02:51Z","body":"create a  test.js\r\ncode  \r\n>global.msg =require(\"msgpack5\")();\r\n\r\nbrowserify test.js -s msgpack -o client.js"}}