{"action":"created","issue":{"url":"https://api.github.com/repos/arjunmehta/heartbeats/issues/8","repository_url":"https://api.github.com/repos/arjunmehta/heartbeats","labels_url":"https://api.github.com/repos/arjunmehta/heartbeats/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/arjunmehta/heartbeats/issues/8/comments","events_url":"https://api.github.com/repos/arjunmehta/heartbeats/issues/8/events","html_url":"https://github.com/arjunmehta/heartbeats/issues/8","id":188768009,"number":8,"title":"Module Exports breaking on browsers","user":{"login":"AStoker","id":2907279,"avatar_url":"https://avatars.githubusercontent.com/u/2907279?v=3","gravatar_id":"","url":"https://api.github.com/users/AStoker","html_url":"https://github.com/AStoker","followers_url":"https://api.github.com/users/AStoker/followers","following_url":"https://api.github.com/users/AStoker/following{/other_user}","gists_url":"https://api.github.com/users/AStoker/gists{/gist_id}","starred_url":"https://api.github.com/users/AStoker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AStoker/subscriptions","organizations_url":"https://api.github.com/users/AStoker/orgs","repos_url":"https://api.github.com/users/AStoker/repos","events_url":"https://api.github.com/users/AStoker/events{/privacy}","received_events_url":"https://api.github.com/users/AStoker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-11T14:11:36Z","updated_at":"2016-11-12T15:00:04Z","closed_at":null,"body":"Is there a reason why you are calling:  \r\n```\r\nexports = module.exports = SomeObject\r\n```\r\n[like here](https://github.com/arjunmehta/heartbeats/blob/master/lib/pulse.js#L39), instead of calling:\r\n```\r\nmodule.exports = exports = SomeObject\r\n```\r\n[like here in the main](https://github.com/arjunmehta/heartbeats/blob/master/main.js#L23).\r\nBrowsers seem to have trouble interpreting the first syntax correctly when things are bundled together.  \r\nI can make another quick PR to fix it, but wanted to see if there was a specific reason (other than, \"It's just how it was written\" which is typically my excuse)."},"comment":{"url":"https://api.github.com/repos/arjunmehta/heartbeats/issues/comments/260126833","html_url":"https://github.com/arjunmehta/heartbeats/issues/8#issuecomment-260126833","issue_url":"https://api.github.com/repos/arjunmehta/heartbeats/issues/8","id":260126833,"user":{"login":"arjunmehta","id":862049,"avatar_url":"https://avatars.githubusercontent.com/u/862049?v=3","gravatar_id":"","url":"https://api.github.com/users/arjunmehta","html_url":"https://github.com/arjunmehta","followers_url":"https://api.github.com/users/arjunmehta/followers","following_url":"https://api.github.com/users/arjunmehta/following{/other_user}","gists_url":"https://api.github.com/users/arjunmehta/gists{/gist_id}","starred_url":"https://api.github.com/users/arjunmehta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjunmehta/subscriptions","organizations_url":"https://api.github.com/users/arjunmehta/orgs","repos_url":"https://api.github.com/users/arjunmehta/repos","events_url":"https://api.github.com/users/arjunmehta/events{/privacy}","received_events_url":"https://api.github.com/users/arjunmehta/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T15:00:04Z","updated_at":"2016-11-12T15:00:04Z","body":"@AStoker in fact I may remove exports entirely in favour of only using module.exports."}}
{"actor":{"display_login":"arjunmehta"}}