{"action":"closed","issue":{"url":"https://api.github.com/repos/i-like-robots/rewireify/issues/16","labels_url":"https://api.github.com/repos/i-like-robots/rewireify/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/i-like-robots/rewireify/issues/16/comments","events_url":"https://api.github.com/repos/i-like-robots/rewireify/issues/16/events","html_url":"https://github.com/i-like-robots/rewireify/issues/16","id":105502767,"number":16,"title":"0.2.3 - methods aren't injected if typeof module.exports is 'function'","user":{"login":"tran2","id":7945885,"avatar_url":"https://avatars.githubusercontent.com/u/7945885?v=3","gravatar_id":"","url":"https://api.github.com/users/tran2","html_url":"https://github.com/tran2","followers_url":"https://api.github.com/users/tran2/followers","following_url":"https://api.github.com/users/tran2/following{/other_user}","gists_url":"https://api.github.com/users/tran2/gists{/gist_id}","starred_url":"https://api.github.com/users/tran2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tran2/subscriptions","organizations_url":"https://api.github.com/users/tran2/orgs","repos_url":"https://api.github.com/users/tran2/repos","events_url":"https://api.github.com/users/tran2/events{/privacy}","received_events_url":"https://api.github.com/users/tran2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/i-like-robots/rewireify/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-09T01:58:54Z","updated_at":"2015-09-09T21:19:39Z","closed_at":"2015-09-09T21:19:39Z","body":"In 0.2.3, there's a check `if typeof module.exports === 'object' ` before injecting. \r\nIn some of my codes, ``typeof module === 'object' `` but `` typeof module.exports === 'function' ``\r\nso ``__get__`` and ``__set__`` never gets injected"}}