{"action":"opened","number":2354,"pull_request":{"url":"https://api.github.com/repos/babel/babel/pulls/2354","id":44647783,"html_url":"https://github.com/babel/babel/pull/2354","diff_url":"https://github.com/babel/babel/pull/2354.diff","patch_url":"https://github.com/babel/babel/pull/2354.patch","issue_url":"https://api.github.com/repos/babel/babel/issues/2354","number":2354,"state":"open","locked":false,"title":"`global.document` changed to `global.document.currentScript.ownerDocument`","user":{"login":"ilyaigpetrov","id":1090811,"avatar_url":"https://avatars.githubusercontent.com/u/1090811?v=3","gravatar_id":"","url":"https://api.github.com/users/ilyaigpetrov","html_url":"https://github.com/ilyaigpetrov","followers_url":"https://api.github.com/users/ilyaigpetrov/followers","following_url":"https://api.github.com/users/ilyaigpetrov/following{/other_user}","gists_url":"https://api.github.com/users/ilyaigpetrov/gists{/gist_id}","starred_url":"https://api.github.com/users/ilyaigpetrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilyaigpetrov/subscriptions","organizations_url":"https://api.github.com/users/ilyaigpetrov/orgs","repos_url":"https://api.github.com/users/ilyaigpetrov/repos","events_url":"https://api.github.com/users/ilyaigpetrov/events{/privacy}","received_events_url":"https://api.github.com/users/ilyaigpetrov/received_events","type":"User","site_admin":false},"body":"[The issue](https://github.com/babel/babel/issues/2344)  \r\n\r\n#### Tests\r\n\r\nWindows/Chrome:\r\n  1. components: _ok_\r\n  2. global document: _ok_\r\n\r\nWindows/FireFox:\r\n  1. components: __fail__ (no DomContentLoaded event or any other when Webcomponents.js is used)\r\n  2. global document: _ok_\r\n\r\nWindows/Edge:\r\n  1. components: __fail__\r\n  2. global document: _ok_\r\n\r\nTested on `babel-core` npm package, did't tried to build it from the repo.\r\n","created_at":"2015-09-10T09:53:36Z","updated_at":"2015-09-10T09:53:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/babel/babel/pulls/2354/commits","review_comments_url":"https://api.github.com/repos/babel/babel/pulls/2354/comments","review_comment_url":"https://api.github.com/repos/babel/babel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/babel/babel/issues/2354/comments","statuses_url":"https://api.github.com/repos/babel/babel/statuses/87c7dbe052c7b8223de851f419788c3c926afcd8","head":{"label":"ilyaigpetrov:webcomponents_support","ref":"webcomponents_support","sha":"87c7dbe052c7b8223de851f419788c3c926afcd8","user":{"login":"ilyaigpetrov","id":1090811,"avatar_url":"https://avatars.githubusercontent.com/u/1090811?v=3","gravatar_id":"","url":"https://api.github.com/users/ilyaigpetrov","html_url":"https://github.com/ilyaigpetrov","followers_url":"https://api.github.com/users/ilyaigpetrov/followers","following_url":"https://api.github.com/users/ilyaigpetrov/following{/other_user}","gists_url":"https://api.github.com/users/ilyaigpetrov/gists{/gist_id}","starred_url":"https://api.github.com/users/ilyaigpetrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilyaigpetrov/subscriptions","organizations_url":"https://api.github.com/users/ilyaigpetrov/orgs","repos_url":"https://api.github.com/users/ilyaigpetrov/repos","events_url":"https://api.github.com/users/ilyaigpetrov/events{/privacy}","received_events_url":"https://api.github.com/users/ilyaigpetrov/received_events","type":"User","site_admin":false},"repo":{"id":42235394,"name":"babel","full_name":"ilyaigpetrov/babel","owner":{"login":"ilyaigpetrov","id":1090811,"avatar_url":"https://avatars.githubusercontent.com/u/1090811?v=3","gravatar_id":"","url":"https://api.github.com/users/ilyaigpetrov","html_url":"https://github.com/ilyaigpetrov","followers_url":"https://api.github.com/users/ilyaigpetrov/followers","following_url":"https://api.github.com/users/ilyaigpetrov/following{/other_user}","gists_url":"https://api.github.com/users/ilyaigpetrov/gists{/gist_id}","starred_url":"https://api.github.com/users/ilyaigpetrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilyaigpetrov/subscriptions","organizations_url":"https://api.github.com/users/ilyaigpetrov/orgs","repos_url":"https://api.github.com/users/ilyaigpetrov/repos","events_url":"https://api.github.com/users/ilyaigpetrov/events{/privacy}","received_events_url":"https://api.github.com/users/ilyaigpetrov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ilyaigpetrov/babel","description":"Babel is a compiler for writing next generation JavaScript.","fork":true,"url":"https://api.github.com/repos/ilyaigpetrov/babel","forks_url":"https://api.github.com/repos/ilyaigpetrov/babel/forks","keys_url":"https://api.github.com/repos/ilyaigpetrov/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ilyaigpetrov/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ilyaigpetrov/babel/teams","hooks_url":"https://api.github.com/repos/ilyaigpetrov/babel/hooks","issue_events_url":"https://api.github.com/repos/ilyaigpetrov/babel/issues/events{/number}","events_url":"https://api.github.com/repos/ilyaigpetrov/babel/events","assignees_url":"https://api.github.com/repos/ilyaigpetrov/babel/assignees{/user}","branches_url":"https://api.github.com/repos/ilyaigpetrov/babel/branches{/branch}","tags_url":"https://api.github.com/repos/ilyaigpetrov/babel/tags","blobs_url":"https://api.github.com/repos/ilyaigpetrov/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ilyaigpetrov/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ilyaigpetrov/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/ilyaigpetrov/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ilyaigpetrov/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/ilyaigpetrov/babel/languages","stargazers_url":"https://api.github.com/repos/ilyaigpetrov/babel/stargazers","contributors_url":"https://api.github.com/repos/ilyaigpetrov/babel/contributors","subscribers_url":"https://api.github.com/repos/ilyaigpetrov/babel/subscribers","subscription_url":"https://api.github.com/repos/ilyaigpetrov/babel/subscription","commits_url":"https://api.github.com/repos/ilyaigpetrov/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/ilyaigpetrov/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/ilyaigpetrov/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/ilyaigpetrov/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/ilyaigpetrov/babel/contents/{+path}","compare_url":"https://api.github.com/repos/ilyaigpetrov/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ilyaigpetrov/babel/merges","archive_url":"https://api.github.com/repos/ilyaigpetrov/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ilyaigpetrov/babel/downloads","issues_url":"https://api.github.com/repos/ilyaigpetrov/babel/issues{/number}","pulls_url":"https://api.github.com/repos/ilyaigpetrov/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/ilyaigpetrov/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/ilyaigpetrov/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ilyaigpetrov/babel/labels{/name}","releases_url":"https://api.github.com/repos/ilyaigpetrov/babel/releases{/id}","created_at":"2015-09-10T09:31:00Z","updated_at":"2015-09-10T09:31:05Z","pushed_at":"2015-09-10T09:46:36Z","git_url":"git://github.com/ilyaigpetrov/babel.git","ssh_url":"git@github.com:ilyaigpetrov/babel.git","clone_url":"https://github.com/ilyaigpetrov/babel.git","svn_url":"https://github.com/ilyaigpetrov/babel","homepage":"https://babeljs.io/","size":22144,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"babel:master","ref":"master","sha":"436ba9b6536ae194bd265f91311f411fe1ae1e82","user":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"repo":{"id":24560307,"name":"babel","full_name":"babel/babel","owner":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/babel/babel","description":"Babel is a compiler for writing next generation JavaScript.","fork":false,"url":"https://api.github.com/repos/babel/babel","forks_url":"https://api.github.com/repos/babel/babel/forks","keys_url":"https://api.github.com/repos/babel/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/babel/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/babel/babel/teams","hooks_url":"https://api.github.com/repos/babel/babel/hooks","issue_events_url":"https://api.github.com/repos/babel/babel/issues/events{/number}","events_url":"https://api.github.com/repos/babel/babel/events","assignees_url":"https://api.github.com/repos/babel/babel/assignees{/user}","branches_url":"https://api.github.com/repos/babel/babel/branches{/branch}","tags_url":"https://api.github.com/repos/babel/babel/tags","blobs_url":"https://api.github.com/repos/babel/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/babel/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/babel/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/babel/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/babel/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/babel/babel/languages","stargazers_url":"https://api.github.com/repos/babel/babel/stargazers","contributors_url":"https://api.github.com/repos/babel/babel/contributors","subscribers_url":"https://api.github.com/repos/babel/babel/subscribers","subscription_url":"https://api.github.com/repos/babel/babel/subscription","commits_url":"https://api.github.com/repos/babel/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/babel/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/babel/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/babel/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/babel/babel/contents/{+path}","compare_url":"https://api.github.com/repos/babel/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/babel/babel/merges","archive_url":"https://api.github.com/repos/babel/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/babel/babel/downloads","issues_url":"https://api.github.com/repos/babel/babel/issues{/number}","pulls_url":"https://api.github.com/repos/babel/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/babel/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/babel/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/babel/babel/labels{/name}","releases_url":"https://api.github.com/repos/babel/babel/releases{/id}","created_at":"2014-09-28T13:38:23Z","updated_at":"2015-09-10T07:58:58Z","pushed_at":"2015-09-10T09:53:36Z","git_url":"git://github.com/babel/babel.git","ssh_url":"git@github.com:babel/babel.git","clone_url":"https://github.com/babel/babel.git","svn_url":"https://github.com/babel/babel","homepage":"https://babeljs.io/","size":22144,"stargazers_count":9304,"watchers_count":9304,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":482,"mirror_url":null,"open_issues_count":111,"forks":482,"open_issues":111,"watchers":9304,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/babel/babel/pulls/2354"},"html":{"href":"https://github.com/babel/babel/pull/2354"},"issue":{"href":"https://api.github.com/repos/babel/babel/issues/2354"},"comments":{"href":"https://api.github.com/repos/babel/babel/issues/2354/comments"},"review_comments":{"href":"https://api.github.com/repos/babel/babel/pulls/2354/comments"},"review_comment":{"href":"https://api.github.com/repos/babel/babel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/babel/babel/pulls/2354/commits"},"statuses":{"href":"https://api.github.com/repos/babel/babel/statuses/87c7dbe052c7b8223de851f419788c3c926afcd8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":5,"changed_files":1}}