{"action":"created","comment":{"url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/comments/46906400","id":46906400,"diff_hunk":"@@ -309,8 +309,12 @@\n       );\n     });\n \n-  document.registerElement('test-fixture', {\n-    prototype: TestFixturePrototype\n-  });\n+  try {\n+    document.registerElement('test-fixture', {\n+      prototype: TestFixturePrototype\n+    });\n+  } catch (e) {\n+    console.warn('test-fixture has already been registered!');","path":"test-fixture.html","position":12,"original_position":12,"commit_id":"e5add8b5a8aaff5cecef68ae2a3921c826bb708c","original_commit_id":"e5add8b5a8aaff5cecef68ae2a3921c826bb708c","user":{"login":"cdata","id":240083,"avatar_url":"https://avatars.githubusercontent.com/u/240083?v=3","gravatar_id":"","url":"https://api.github.com/users/cdata","html_url":"https://github.com/cdata","followers_url":"https://api.github.com/users/cdata/followers","following_url":"https://api.github.com/users/cdata/following{/other_user}","gists_url":"https://api.github.com/users/cdata/gists{/gist_id}","starred_url":"https://api.github.com/users/cdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdata/subscriptions","organizations_url":"https://api.github.com/users/cdata/orgs","repos_url":"https://api.github.com/users/cdata/repos","events_url":"https://api.github.com/users/cdata/events{/privacy}","received_events_url":"https://api.github.com/users/cdata/received_events","type":"User","site_admin":false},"body":"Maybe it would be helpful to add, \"if you are using WCT, you do not need to manually import `test-fixture.html\" or something to that effect. What do you think?","created_at":"2015-12-08T01:56:16Z","updated_at":"2015-12-08T01:56:16Z","html_url":"https://github.com/PolymerElements/test-fixture/pull/22#discussion_r46906400","pull_request_url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/comments/46906400"},"html":{"href":"https://github.com/PolymerElements/test-fixture/pull/22#discussion_r46906400"},"pull_request":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/22","id":52896298,"html_url":"https://github.com/PolymerElements/test-fixture/pull/22","diff_url":"https://github.com/PolymerElements/test-fixture/pull/22.diff","patch_url":"https://github.com/PolymerElements/test-fixture/pull/22.patch","issue_url":"https://api.github.com/repos/PolymerElements/test-fixture/issues/22","number":22,"state":"open","locked":false,"title":"Warn about multiple registrations, but continue running","user":{"login":"azakus","id":46725,"avatar_url":"https://avatars.githubusercontent.com/u/46725?v=3","gravatar_id":"","url":"https://api.github.com/users/azakus","html_url":"https://github.com/azakus","followers_url":"https://api.github.com/users/azakus/followers","following_url":"https://api.github.com/users/azakus/following{/other_user}","gists_url":"https://api.github.com/users/azakus/gists{/gist_id}","starred_url":"https://api.github.com/users/azakus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azakus/subscriptions","organizations_url":"https://api.github.com/users/azakus/orgs","repos_url":"https://api.github.com/users/azakus/repos","events_url":"https://api.github.com/users/azakus/events{/privacy}","received_events_url":"https://api.github.com/users/azakus/received_events","type":"User","site_admin":false},"body":"Test-fixtures inclusion into WCT has made a few projects that use test-fixture\nseparately fail because test-fixture can be registered by WCT with a different path.","created_at":"2015-12-07T20:28:24Z","updated_at":"2015-12-08T01:56:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d42942b5dc02d3667c2b08f24b68fad08ed164e7","assignee":{"login":"cdata","id":240083,"avatar_url":"https://avatars.githubusercontent.com/u/240083?v=3","gravatar_id":"","url":"https://api.github.com/users/cdata","html_url":"https://github.com/cdata","followers_url":"https://api.github.com/users/cdata/followers","following_url":"https://api.github.com/users/cdata/following{/other_user}","gists_url":"https://api.github.com/users/cdata/gists{/gist_id}","starred_url":"https://api.github.com/users/cdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdata/subscriptions","organizations_url":"https://api.github.com/users/cdata/orgs","repos_url":"https://api.github.com/users/cdata/repos","events_url":"https://api.github.com/users/cdata/events{/privacy}","received_events_url":"https://api.github.com/users/cdata/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/22/commits","review_comments_url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/22/comments","review_comment_url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PolymerElements/test-fixture/issues/22/comments","statuses_url":"https://api.github.com/repos/PolymerElements/test-fixture/statuses/e5add8b5a8aaff5cecef68ae2a3921c826bb708c","head":{"label":"PolymerElements:guard-registration","ref":"guard-registration","sha":"e5add8b5a8aaff5cecef68ae2a3921c826bb708c","user":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"repo":{"id":34015355,"name":"test-fixture","full_name":"PolymerElements/test-fixture","owner":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PolymerElements/test-fixture","description":"","fork":false,"url":"https://api.github.com/repos/PolymerElements/test-fixture","forks_url":"https://api.github.com/repos/PolymerElements/test-fixture/forks","keys_url":"https://api.github.com/repos/PolymerElements/test-fixture/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymerElements/test-fixture/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymerElements/test-fixture/teams","hooks_url":"https://api.github.com/repos/PolymerElements/test-fixture/hooks","issue_events_url":"https://api.github.com/repos/PolymerElements/test-fixture/issues/events{/number}","events_url":"https://api.github.com/repos/PolymerElements/test-fixture/events","assignees_url":"https://api.github.com/repos/PolymerElements/test-fixture/assignees{/user}","branches_url":"https://api.github.com/repos/PolymerElements/test-fixture/branches{/branch}","tags_url":"https://api.github.com/repos/PolymerElements/test-fixture/tags","blobs_url":"https://api.github.com/repos/PolymerElements/test-fixture/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymerElements/test-fixture/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymerElements/test-fixture/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymerElements/test-fixture/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymerElements/test-fixture/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymerElements/test-fixture/languages","stargazers_url":"https://api.github.com/repos/PolymerElements/test-fixture/stargazers","contributors_url":"https://api.github.com/repos/PolymerElements/test-fixture/contributors","subscribers_url":"https://api.github.com/repos/PolymerElements/test-fixture/subscribers","subscription_url":"https://api.github.com/repos/PolymerElements/test-fixture/subscription","commits_url":"https://api.github.com/repos/PolymerElements/test-fixture/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymerElements/test-fixture/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymerElements/test-fixture/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymerElements/test-fixture/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymerElements/test-fixture/contents/{+path}","compare_url":"https://api.github.com/repos/PolymerElements/test-fixture/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymerElements/test-fixture/merges","archive_url":"https://api.github.com/repos/PolymerElements/test-fixture/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymerElements/test-fixture/downloads","issues_url":"https://api.github.com/repos/PolymerElements/test-fixture/issues{/number}","pulls_url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymerElements/test-fixture/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymerElements/test-fixture/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymerElements/test-fixture/labels{/name}","releases_url":"https://api.github.com/repos/PolymerElements/test-fixture/releases{/id}","created_at":"2015-04-15T19:54:33Z","updated_at":"2015-12-02T19:01:46Z","pushed_at":"2015-12-07T20:28:24Z","git_url":"git://github.com/PolymerElements/test-fixture.git","ssh_url":"git@github.com:PolymerElements/test-fixture.git","clone_url":"https://github.com/PolymerElements/test-fixture.git","svn_url":"https://github.com/PolymerElements/test-fixture","homepage":null,"size":38,"stargazers_count":9,"watchers_count":9,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":9,"default_branch":"master"}},"base":{"label":"PolymerElements:master","ref":"master","sha":"64352183dbf3d6ad897712877efa843f62120de8","user":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"repo":{"id":34015355,"name":"test-fixture","full_name":"PolymerElements/test-fixture","owner":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PolymerElements/test-fixture","description":"","fork":false,"url":"https://api.github.com/repos/PolymerElements/test-fixture","forks_url":"https://api.github.com/repos/PolymerElements/test-fixture/forks","keys_url":"https://api.github.com/repos/PolymerElements/test-fixture/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymerElements/test-fixture/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymerElements/test-fixture/teams","hooks_url":"https://api.github.com/repos/PolymerElements/test-fixture/hooks","issue_events_url":"https://api.github.com/repos/PolymerElements/test-fixture/issues/events{/number}","events_url":"https://api.github.com/repos/PolymerElements/test-fixture/events","assignees_url":"https://api.github.com/repos/PolymerElements/test-fixture/assignees{/user}","branches_url":"https://api.github.com/repos/PolymerElements/test-fixture/branches{/branch}","tags_url":"https://api.github.com/repos/PolymerElements/test-fixture/tags","blobs_url":"https://api.github.com/repos/PolymerElements/test-fixture/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymerElements/test-fixture/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymerElements/test-fixture/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymerElements/test-fixture/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymerElements/test-fixture/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymerElements/test-fixture/languages","stargazers_url":"https://api.github.com/repos/PolymerElements/test-fixture/stargazers","contributors_url":"https://api.github.com/repos/PolymerElements/test-fixture/contributors","subscribers_url":"https://api.github.com/repos/PolymerElements/test-fixture/subscribers","subscription_url":"https://api.github.com/repos/PolymerElements/test-fixture/subscription","commits_url":"https://api.github.com/repos/PolymerElements/test-fixture/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymerElements/test-fixture/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymerElements/test-fixture/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymerElements/test-fixture/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymerElements/test-fixture/contents/{+path}","compare_url":"https://api.github.com/repos/PolymerElements/test-fixture/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymerElements/test-fixture/merges","archive_url":"https://api.github.com/repos/PolymerElements/test-fixture/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymerElements/test-fixture/downloads","issues_url":"https://api.github.com/repos/PolymerElements/test-fixture/issues{/number}","pulls_url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymerElements/test-fixture/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymerElements/test-fixture/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymerElements/test-fixture/labels{/name}","releases_url":"https://api.github.com/repos/PolymerElements/test-fixture/releases{/id}","created_at":"2015-04-15T19:54:33Z","updated_at":"2015-12-02T19:01:46Z","pushed_at":"2015-12-07T20:28:24Z","git_url":"git://github.com/PolymerElements/test-fixture.git","ssh_url":"git@github.com:PolymerElements/test-fixture.git","clone_url":"https://github.com/PolymerElements/test-fixture.git","svn_url":"https://github.com/PolymerElements/test-fixture","homepage":null,"size":38,"stargazers_count":9,"watchers_count":9,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/22"},"html":{"href":"https://github.com/PolymerElements/test-fixture/pull/22"},"issue":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/issues/22"},"comments":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/statuses/e5add8b5a8aaff5cecef68ae2a3921c826bb708c"}}}}