{"action":"created","issue":{"url":"https://api.github.com/repos/BenSayers/pact-consumer-js-dsl/issues/1","labels_url":"https://api.github.com/repos/BenSayers/pact-consumer-js-dsl/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/BenSayers/pact-consumer-js-dsl/issues/1/comments","events_url":"https://api.github.com/repos/BenSayers/pact-consumer-js-dsl/issues/1/events","html_url":"https://github.com/BenSayers/pact-consumer-js-dsl/pull/1","id":53693812,"number":1,"title":"Convert to CJS, compile to UMD with Browserify","user":{"login":"markdalgleish","id":696693,"avatar_url":"https://avatars.githubusercontent.com/u/696693?v=3","gravatar_id":"","url":"https://api.github.com/users/markdalgleish","html_url":"https://github.com/markdalgleish","followers_url":"https://api.github.com/users/markdalgleish/followers","following_url":"https://api.github.com/users/markdalgleish/following{/other_user}","gists_url":"https://api.github.com/users/markdalgleish/gists{/gist_id}","starred_url":"https://api.github.com/users/markdalgleish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdalgleish/subscriptions","organizations_url":"https://api.github.com/users/markdalgleish/orgs","repos_url":"https://api.github.com/users/markdalgleish/repos","events_url":"https://api.github.com/users/markdalgleish/events{/privacy}","received_events_url":"https://api.github.com/users/markdalgleish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-07T23:00:44Z","updated_at":"2015-01-09T04:37:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/BenSayers/pact-consumer-js-dsl/pulls/1","html_url":"https://github.com/BenSayers/pact-consumer-js-dsl/pull/1","diff_url":"https://github.com/BenSayers/pact-consumer-js-dsl/pull/1.diff","patch_url":"https://github.com/BenSayers/pact-consumer-js-dsl/pull/1.patch"},"body":"This commit standardises the code between browser and Node. Branching logic to handle the different\r\nenvironments is no longer necessary.\r\n\r\nThanks to Browserify we can use Node's http module in the browser instead of using XHR directly, so 'http.js' has simply become 'makeRequest.js' and now exports what was previously the 'makeRequestForNode' function."},"comment":{"url":"https://api.github.com/repos/BenSayers/pact-consumer-js-dsl/issues/comments/69292248","html_url":"https://github.com/BenSayers/pact-consumer-js-dsl/pull/1#issuecomment-69292248","issue_url":"https://api.github.com/repos/BenSayers/pact-consumer-js-dsl/issues/1","id":69292248,"user":{"login":"markdalgleish","id":696693,"avatar_url":"https://avatars.githubusercontent.com/u/696693?v=3","gravatar_id":"","url":"https://api.github.com/users/markdalgleish","html_url":"https://github.com/markdalgleish","followers_url":"https://api.github.com/users/markdalgleish/followers","following_url":"https://api.github.com/users/markdalgleish/following{/other_user}","gists_url":"https://api.github.com/users/markdalgleish/gists{/gist_id}","starred_url":"https://api.github.com/users/markdalgleish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdalgleish/subscriptions","organizations_url":"https://api.github.com/users/markdalgleish/orgs","repos_url":"https://api.github.com/users/markdalgleish/repos","events_url":"https://api.github.com/users/markdalgleish/events{/privacy}","received_events_url":"https://api.github.com/users/markdalgleish/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T04:37:51Z","updated_at":"2015-01-09T04:37:51Z","body":"I've also sent a PR to xhr2 (https://github.com/pwnall/node-xhr2/pull/14) so that the browser version is provided automatically, which would allow `shims/xhr2.js` to be deleted."}}