{"action":"created","issue":{"url":"https://api.github.com/repos/jaredhanson/deamdify/issues/39","repository_url":"https://api.github.com/repos/jaredhanson/deamdify","labels_url":"https://api.github.com/repos/jaredhanson/deamdify/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/jaredhanson/deamdify/issues/39/comments","events_url":"https://api.github.com/repos/jaredhanson/deamdify/issues/39/events","html_url":"https://github.com/jaredhanson/deamdify/pull/39","id":166712407,"number":39,"title":"Preserve code outside of factory function.","user":{"login":"au-phiware","id":816686,"avatar_url":"https://avatars.githubusercontent.com/u/816686?v=3","gravatar_id":"","url":"https://api.github.com/users/au-phiware","html_url":"https://github.com/au-phiware","followers_url":"https://api.github.com/users/au-phiware/followers","following_url":"https://api.github.com/users/au-phiware/following{/other_user}","gists_url":"https://api.github.com/users/au-phiware/gists{/gist_id}","starred_url":"https://api.github.com/users/au-phiware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/au-phiware/subscriptions","organizations_url":"https://api.github.com/users/au-phiware/orgs","repos_url":"https://api.github.com/users/au-phiware/repos","events_url":"https://api.github.com/users/au-phiware/events{/privacy}","received_events_url":"https://api.github.com/users/au-phiware/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-07-21T00:30:46Z","updated_at":"2016-11-03T12:30:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jaredhanson/deamdify/pulls/39","html_url":"https://github.com/jaredhanson/deamdify/pull/39","diff_url":"https://github.com/jaredhanson/deamdify/pull/39.diff","patch_url":"https://github.com/jaredhanson/deamdify/pull/39.patch"},"body":"As mentioned in #33, popular libs often do their main work outside of\nthe factory. Thus the factory is reduced to return a variable that is\ndeclared and defined in the enclosing closure. UMD boilerplate is\nusually an afterthought so to preserve the code outside of the factory\nis very important!\n"},"comment":{"url":"https://api.github.com/repos/jaredhanson/deamdify/issues/comments/258129475","html_url":"https://github.com/jaredhanson/deamdify/pull/39#issuecomment-258129475","issue_url":"https://api.github.com/repos/jaredhanson/deamdify/issues/39","id":258129475,"user":{"login":"au-phiware","id":816686,"avatar_url":"https://avatars.githubusercontent.com/u/816686?v=3","gravatar_id":"","url":"https://api.github.com/users/au-phiware","html_url":"https://github.com/au-phiware","followers_url":"https://api.github.com/users/au-phiware/followers","following_url":"https://api.github.com/users/au-phiware/following{/other_user}","gists_url":"https://api.github.com/users/au-phiware/gists{/gist_id}","starred_url":"https://api.github.com/users/au-phiware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/au-phiware/subscriptions","organizations_url":"https://api.github.com/users/au-phiware/orgs","repos_url":"https://api.github.com/users/au-phiware/repos","events_url":"https://api.github.com/users/au-phiware/events{/privacy}","received_events_url":"https://api.github.com/users/au-phiware/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T12:30:27Z","updated_at":"2016-11-03T12:30:27Z","body":"@bruce965 if you need this patch please try referencing my fork and let us know if you have any problems :)\n\n(If you're not sure how to do this, take a look at the sample I referred to in an earlier comment.)"}}
{"actor":{"display_login":"au-phiware"}}