GitHub PullRequestEvent at 2014-02-22 07:08:00
Repository: es6-module-transpiler
Actor: rpflorence
Payload: {"action":"opened","number":98,"pull_request":{"url":"https://api.github.com/repos/square/es6-module-transpiler/pulls/98","id":12820816,"html_url":"https://github.com/square/es6-module-transpiler/pull/98","diff_url":"https://github.com/square/es6-module-transpiler/pull/98.diff","patch_url":"https://github.com/square/es6-module-transpiler/pull/98.patch","issue_url":"https://api.github.com/repos/square/es6-module-transpiler/issues/98","number":98,"state":"open","title":"don't use the export global for imports","user":{"login":"rpflorence","id":100200,"avatar_url":"https://gravatar.com/avatar/749001c9fe6927c4b069a45c2a3d68f7?d=https%3A%2F%2Fidenticons.github.com%2F33814acc0b112f9c4a7d49a407321729.png&r=x","gravatar_id":"749001c9fe6927c4b069a45c2a3d68f7","url":"https://api.github.com/users/rpflorence","html_url":"https://github.com/rpflorence","followers_url":"https://api.github.com/users/rpflorence/followers","following_url":"https://api.github.com/users/rpflorence/following{/other_user}","gists_url":"https://api.github.com/users/rpflorence/gists{/gist_id}","starred_url":"https://api.github.com/users/rpflorence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpflorence/subscriptions","organizations_url":"https://api.github.com/users/rpflorence/orgs","repos_url":"https://api.github.com/users/rpflorence/repos","events_url":"https://api.github.com/users/rpflorence/events{/privacy}","received_events_url":"https://api.github.com/users/rpflorence/received_events","type":"User","site_admin":false},"body":"previously if exporting to `foo`, all imports\r\nwould be expected to be on `foo`, even with the\r\n`imports` options specified, making it impossible\r\nto import pretty much anything when using the\r\n`global` option\r\n\r\nI considered using `window` on all imports, but if something is truly global you shouldn't need that. Additionally, in some environments you wouldn't have `window`. I realize it is unlikely to be used anywhere but a browser, but this still works in browsers and consumers can configure an `import` to add `window` or `this` if needed.","created_at":"2014-02-22T07:07:57Z","updated_at":"2014-02-22T07:07:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/square/es6-module-transpiler/pulls/98/commits","review_comments_url":"https://api.github.com/repos/square/es6-module-transpiler/pulls/98/comments","review_comment_url":"https://api.github.com/repos/square/es6-module-transpiler/pulls/comments/{number}","comments_url":"https://api.github.com/repos/square/es6-module-transpiler/issues/98/comments","statuses_url":"https://api.github.com/repos/square/es6-module-transpiler/statuses/e54476fe19e128203ae649fe74952c25f8a36884","head":{"label":"rpflorence:dont-use-global-for-deps","ref":"dont-use-global-for-deps","sha":"e54476fe19e128203ae649fe74952c25f8a36884","user":{"login":"rpflorence","id":100200,"avatar_url":"https://gravatar.com/avatar/749001c9fe6927c4b069a45c2a3d68f7?d=https%3A%2F%2Fidenticons.github.com%2F33814acc0b112f9c4a7d49a407321729.png&r=x","gravatar_id":"749001c9fe6927c4b069a45c2a3d68f7","url":"https://api.github.com/users/rpflorence","html_url":"https://github.com/rpflorence","followers_url":"https://api.github.com/users/rpflorence/followers","following_url":"https://api.github.com/users/rpflorence/following{/other_user}","gists_url":"https://api.github.com/users/rpflorence/gists{/gist_id}","starred_url":"https://api.github.com/users/rpflorence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpflorence/subscriptions","organizations_url":"https://api.github.com/users/rpflorence/orgs","repos_url":"https://api.github.com/users/rpflorence/repos","events_url":"https://api.github.com/users/rpflorence/events{/privacy}","received_events_url":"https://api.github.com/users/rpflorence/received_events","type":"User","site_admin":false},"repo":{"id":12622882,"name":"es6-module-transpiler","full_name":"rpflorence/es6-module-transpiler","owner":{"login":"rpflorence","id":100200,"avatar_url":"https://gravatar.com/avatar/749001c9fe6927c4b069a45c2a3d68f7?d=https%3A%2F%2Fidenticons.github.com%2F33814acc0b112f9c4a7d49a407321729.png&r=x","gravatar_id":"749001c9fe6927c4b069a45c2a3d68f7","url":"https://api.github.com/users/rpflorence","html_url":"https://github.com/rpflorence","followers_url":"https://api.github.com/users/rpflorence/followers","following_url":"https://api.github.com/users/rpflorence/following{/other_user}","gists_url":"https://api.github.com/users/rpflorence/gists{/gist_id}","starred_url":"https://api.github.com/users/rpflorence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpflorence/subscriptions","organizations_url":"https://api.github.com/users/rpflorence/orgs","repos_url":"https://api.github.com/users/rpflorence/repos","events_url":"https://api.github.com/users/rpflorence/events{/privacy}","received_events_url":"https://api.github.com/users/rpflorence/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rpflorence/es6-module-transpiler","description":"Tomorrow’s JavaScript module syntax today","fork":true,"url":"https://api.github.com/repos/rpflorence/es6-module-transpiler","forks_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/forks","keys_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/teams","hooks_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/hooks","issue_events_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/issues/events{/number}","events_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/events","assignees_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/assignees{/user}","branches_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/branches{/branch}","tags_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/tags","blobs_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/statuses/{sha}","languages_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/languages","stargazers_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/stargazers","contributors_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/contributors","subscribers_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/subscribers","subscription_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/subscription","commits_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/issues/comments/{number}","contents_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/contents/{+path}","compare_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/merges","archive_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/downloads","issues_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/issues{/number}","pulls_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/pulls{/number}","milestones_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/milestones{/number}","notifications_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/labels{/name}","releases_url":"https://api.github.com/repos/rpflorence/es6-module-transpiler/releases{/id}","created_at":"2013-09-05T16:34:15Z","updated_at":"2014-02-22T07:07:57Z","pushed_at":"2014-02-22T07:04:33Z","git_url":"git://github.com/rpflorence/es6-module-transpiler.git","ssh_url":"git@github.com:rpflorence/es6-module-transpiler.git","clone_url":"https://github.com/rpflorence/es6-module-transpiler.git","svn_url":"https://github.com/rpflorence/es6-module-transpiler","homepage":"http://square.github.com/es6-module-transpiler","size":478,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"square:master","ref":"master","sha":"006efa6f5b4f5bfdca128658ecc0f61533bb3228","user":{"login":"square","id":82592,"avatar_url":"https://gravatar.com/avatar/d87fe401b5fc9a4fc9bfd75febcab7c7?d=https%3A%2F%2Fidenticons.github.com%2F259652f877ed31f62299ca88208ba2b5.png&r=x","gravatar_id":"d87fe401b5fc9a4fc9bfd75febcab7c7","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":8145816,"name":"es6-module-transpiler","full_name":"square/es6-module-transpiler","owner":{"login":"square","id":82592,"avatar_url":"https://gravatar.com/avatar/d87fe401b5fc9a4fc9bfd75febcab7c7?d=https%3A%2F%2Fidenticons.github.com%2F259652f877ed31f62299ca88208ba2b5.png&r=x","gravatar_id":"d87fe401b5fc9a4fc9bfd75febcab7c7","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/square/es6-module-transpiler","description":"Tomorrow’s JavaScript module syntax today","fork":false,"url":"https://api.github.com/repos/square/es6-module-transpiler","forks_url":"https://api.github.com/repos/square/es6-module-transpiler/forks","keys_url":"https://api.github.com/repos/square/es6-module-transpiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/es6-module-transpiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/es6-module-transpiler/teams","hooks_url":"https://api.github.com/repos/square/es6-module-transpiler/hooks","issue_events_url":"https://api.github.com/repos/square/es6-module-transpiler/issues/events{/number}","events_url":"https://api.github.com/repos/square/es6-module-transpiler/events","assignees_url":"https://api.github.com/repos/square/es6-module-transpiler/assignees{/user}","branches_url":"https://api.github.com/repos/square/es6-module-transpiler/branches{/branch}","tags_url":"https://api.github.com/repos/square/es6-module-transpiler/tags","blobs_url":"https://api.github.com/repos/square/es6-module-transpiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/es6-module-transpiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/es6-module-transpiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/es6-module-transpiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/es6-module-transpiler/statuses/{sha}","languages_url":"https://api.github.com/repos/square/es6-module-transpiler/languages","stargazers_url":"https://api.github.com/repos/square/es6-module-transpiler/stargazers","contributors_url":"https://api.github.com/repos/square/es6-module-transpiler/contributors","subscribers_url":"https://api.github.com/repos/square/es6-module-transpiler/subscribers","subscription_url":"https://api.github.com/repos/square/es6-module-transpiler/subscription","commits_url":"https://api.github.com/repos/square/es6-module-transpiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/es6-module-transpiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/es6-module-transpiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/es6-module-transpiler/issues/comments/{number}","contents_url":"https://api.github.com/repos/square/es6-module-transpiler/contents/{+path}","compare_url":"https://api.github.com/repos/square/es6-module-transpiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/es6-module-transpiler/merges","archive_url":"https://api.github.com/repos/square/es6-module-transpiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/es6-module-transpiler/downloads","issues_url":"https://api.github.com/repos/square/es6-module-transpiler/issues{/number}","pulls_url":"https://api.github.com/repos/square/es6-module-transpiler/pulls{/number}","milestones_url":"https://api.github.com/repos/square/es6-module-transpiler/milestones{/number}","notifications_url":"https://api.github.com/repos/square/es6-module-transpiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/es6-module-transpiler/labels{/name}","releases_url":"https://api.github.com/repos/square/es6-module-transpiler/releases{/id}","created_at":"2013-02-11T20:24:26Z","updated_at":"2014-02-19T21:13:37Z","pushed_at":"2014-02-19T21:13:36Z","git_url":"git://github.com/square/es6-module-transpiler.git","ssh_url":"git@github.com:square/es6-module-transpiler.git","clone_url":"https://github.com/square/es6-module-transpiler.git","svn_url":"https://github.com/square/es6-module-transpiler","homepage":"http://square.github.com/es6-module-transpiler","size":1150,"stargazers_count":454,"watchers_count":454,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":36,"mirror_url":null,"open_issues_count":25,"forks":36,"open_issues":25,"watchers":454,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/square/es6-module-transpiler/pulls/98"},"html":{"href":"https://github.com/square/es6-module-transpiler/pull/98"},"issue":{"href":"https://api.github.com/repos/square/es6-module-transpiler/issues/98"},"comments":{"href":"https://api.github.com/repos/square/es6-module-transpiler/issues/98/comments"},"review_comments":{"href":"https://api.github.com/repos/square/es6-module-transpiler/pulls/98/comments"},"review_comment":{"href":"https://api.github.com/repos/square/es6-module-transpiler/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/square/es6-module-transpiler/pulls/98/commits"},"statuses":{"href":"https://api.github.com/repos/square/es6-module-transpiler/statuses/e54476fe19e128203ae649fe74952c25f8a36884"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":6,"changed_files":6}}