{"action":"created","issue":{"url":"https://api.github.com/repos/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper/issues/3","repository_url":"https://api.github.com/repos/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper","labels_url":"https://api.github.com/repos/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper/issues/3/comments","events_url":"https://api.github.com/repos/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper/issues/3/events","html_url":"https://github.com/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper/pull/3","id":168525485,"number":3,"title":"removed `define` global","user":{"login":"asapach","id":1755336,"avatar_url":"https://avatars.githubusercontent.com/u/1755336?v=3","gravatar_id":"","url":"https://api.github.com/users/asapach","html_url":"https://github.com/asapach","followers_url":"https://api.github.com/users/asapach/followers","following_url":"https://api.github.com/users/asapach/following{/other_user}","gists_url":"https://api.github.com/users/asapach/gists{/gist_id}","starred_url":"https://api.github.com/users/asapach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asapach/subscriptions","organizations_url":"https://api.github.com/users/asapach/orgs","repos_url":"https://api.github.com/users/asapach/repos","events_url":"https://api.github.com/users/asapach/events{/privacy}","received_events_url":"https://api.github.com/users/asapach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-31T16:20:22Z","updated_at":"2016-08-01T13:33:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper/pulls/3","html_url":"https://github.com/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper/pull/3","diff_url":"https://github.com/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper/pull/3.diff","patch_url":"https://github.com/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper/pull/3.patch"},"body":"I wonder if it's a bug: there's no `define` global in CJS.\r\n\r\n// CC @guybedford"},"comment":{"url":"https://api.github.com/repos/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper/issues/comments/236581419","html_url":"https://github.com/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper/pull/3#issuecomment-236581419","issue_url":"https://api.github.com/repos/jrauschenbusch/babel-plugin-transform-cjs-system-wrapper/issues/3","id":236581419,"user":{"login":"jrauschenbusch","id":2499843,"avatar_url":"https://avatars.githubusercontent.com/u/2499843?v=3","gravatar_id":"","url":"https://api.github.com/users/jrauschenbusch","html_url":"https://github.com/jrauschenbusch","followers_url":"https://api.github.com/users/jrauschenbusch/followers","following_url":"https://api.github.com/users/jrauschenbusch/following{/other_user}","gists_url":"https://api.github.com/users/jrauschenbusch/gists{/gist_id}","starred_url":"https://api.github.com/users/jrauschenbusch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrauschenbusch/subscriptions","organizations_url":"https://api.github.com/users/jrauschenbusch/orgs","repos_url":"https://api.github.com/users/jrauschenbusch/repos","events_url":"https://api.github.com/users/jrauschenbusch/events{/privacy}","received_events_url":"https://api.github.com/users/jrauschenbusch/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T13:33:47Z","updated_at":"2016-08-01T13:33:47Z","body":"Ah, now it's much clearer.\r\n\r\nThe output of the second alternative should then look like this?\r\n```javascript\r\nif (typeof undefined != 'undefined' && undefined.amd)\r\n undefined(factory);\r\nelse\r\n module.exports = factory();\r\n```\r\nPerhaps this would be really the best option, because the `if` part (dead code) can be optimized out later."}}
{"actor":{"display_login":"jrauschenbusch"}}