{"action":"created","comment":{"url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/comments/76159475","id":76159475,"diff_hunk":"@@ -313,9 +315,20 @@\n     });\n \n   try {\n-    document.registerElement('test-fixture', {\n-      prototype: TestFixturePrototype\n-    });\n+    if (window.customElements) {\n+      function TestFixture() {\n+        if (window.Reflect) {\n+          return Reflect.construct(HTMLElement, [], TestFixture)","path":"test-fixture.html","position":19,"original_position":19,"commit_id":"72df9cc6e72e670525e4f5bf8028d76e9cbf4594","original_commit_id":"72df9cc6e72e670525e4f5bf8028d76e9cbf4594","user":{"login":"bicknellr","id":406614,"avatar_url":"https://avatars.githubusercontent.com/u/406614?v=3","gravatar_id":"","url":"https://api.github.com/users/bicknellr","html_url":"https://github.com/bicknellr","followers_url":"https://api.github.com/users/bicknellr/followers","following_url":"https://api.github.com/users/bicknellr/following{/other_user}","gists_url":"https://api.github.com/users/bicknellr/gists{/gist_id}","starred_url":"https://api.github.com/users/bicknellr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bicknellr/subscriptions","organizations_url":"https://api.github.com/users/bicknellr/orgs","repos_url":"https://api.github.com/users/bicknellr/repos","events_url":"https://api.github.com/users/bicknellr/events{/privacy}","received_events_url":"https://api.github.com/users/bicknellr/received_events","type":"User","site_admin":false},"body":"`TestFixture` ->`new.target`, in case you want to extend TestFixture. (also, missing a `;` here)","created_at":"2016-08-24T23:41:43Z","updated_at":"2016-08-24T23:41:43Z","html_url":"https://github.com/PolymerElements/test-fixture/pull/37#discussion_r76159475","pull_request_url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/comments/76159475"},"html":{"href":"https://github.com/PolymerElements/test-fixture/pull/37#discussion_r76159475"},"pull_request":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/37","id":82634715,"html_url":"https://github.com/PolymerElements/test-fixture/pull/37","diff_url":"https://github.com/PolymerElements/test-fixture/pull/37.diff","patch_url":"https://github.com/PolymerElements/test-fixture/pull/37.patch","issue_url":"https://api.github.com/repos/PolymerElements/test-fixture/issues/37","number":37,"state":"open","locked":false,"title":"<test-fixture> now works with Custom Elements v1","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":"This change features a mechanism for expressing `<test-fixture>` implementation as a class, without requiring us to write a mostly-duplicated fork of the implementation. Also, a test suite has been added to test the element under the Custom Elements v1 polyfill.","created_at":"2016-08-24T23:26:50Z","updated_at":"2016-08-24T23:41:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b2c047d1a6a4c316561ea1e5b9904961812752a9","assignee":{"login":"justinfagnani","id":522948,"avatar_url":"https://avatars.githubusercontent.com/u/522948?v=3","gravatar_id":"","url":"https://api.github.com/users/justinfagnani","html_url":"https://github.com/justinfagnani","followers_url":"https://api.github.com/users/justinfagnani/followers","following_url":"https://api.github.com/users/justinfagnani/following{/other_user}","gists_url":"https://api.github.com/users/justinfagnani/gists{/gist_id}","starred_url":"https://api.github.com/users/justinfagnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinfagnani/subscriptions","organizations_url":"https://api.github.com/users/justinfagnani/orgs","repos_url":"https://api.github.com/users/justinfagnani/repos","events_url":"https://api.github.com/users/justinfagnani/events{/privacy}","received_events_url":"https://api.github.com/users/justinfagnani/received_events","type":"User","site_admin":false},"assignees":[{"login":"justinfagnani","id":522948,"avatar_url":"https://avatars.githubusercontent.com/u/522948?v=3","gravatar_id":"","url":"https://api.github.com/users/justinfagnani","html_url":"https://github.com/justinfagnani","followers_url":"https://api.github.com/users/justinfagnani/followers","following_url":"https://api.github.com/users/justinfagnani/following{/other_user}","gists_url":"https://api.github.com/users/justinfagnani/gists{/gist_id}","starred_url":"https://api.github.com/users/justinfagnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinfagnani/subscriptions","organizations_url":"https://api.github.com/users/justinfagnani/orgs","repos_url":"https://api.github.com/users/justinfagnani/repos","events_url":"https://api.github.com/users/justinfagnani/events{/privacy}","received_events_url":"https://api.github.com/users/justinfagnani/received_events","type":"User","site_admin":false},{"login":"notwaldorf","id":1369170,"avatar_url":"https://avatars.githubusercontent.com/u/1369170?v=3","gravatar_id":"","url":"https://api.github.com/users/notwaldorf","html_url":"https://github.com/notwaldorf","followers_url":"https://api.github.com/users/notwaldorf/followers","following_url":"https://api.github.com/users/notwaldorf/following{/other_user}","gists_url":"https://api.github.com/users/notwaldorf/gists{/gist_id}","starred_url":"https://api.github.com/users/notwaldorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notwaldorf/subscriptions","organizations_url":"https://api.github.com/users/notwaldorf/orgs","repos_url":"https://api.github.com/users/notwaldorf/repos","events_url":"https://api.github.com/users/notwaldorf/events{/privacy}","received_events_url":"https://api.github.com/users/notwaldorf/received_events","type":"User","site_admin":false},{"login":"valdrinkoshi","id":6173664,"avatar_url":"https://avatars.githubusercontent.com/u/6173664?v=3","gravatar_id":"","url":"https://api.github.com/users/valdrinkoshi","html_url":"https://github.com/valdrinkoshi","followers_url":"https://api.github.com/users/valdrinkoshi/followers","following_url":"https://api.github.com/users/valdrinkoshi/following{/other_user}","gists_url":"https://api.github.com/users/valdrinkoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/valdrinkoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valdrinkoshi/subscriptions","organizations_url":"https://api.github.com/users/valdrinkoshi/orgs","repos_url":"https://api.github.com/users/valdrinkoshi/repos","events_url":"https://api.github.com/users/valdrinkoshi/events{/privacy}","received_events_url":"https://api.github.com/users/valdrinkoshi/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/37/commits","review_comments_url":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/37/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/37/comments","statuses_url":"https://api.github.com/repos/PolymerElements/test-fixture/statuses/72df9cc6e72e670525e4f5bf8028d76e9cbf4594","head":{"label":"PolymerElements:custom-elements-v1","ref":"custom-elements-v1","sha":"72df9cc6e72e670525e4f5bf8028d76e9cbf4594","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}","deployments_url":"https://api.github.com/repos/PolymerElements/test-fixture/deployments","created_at":"2015-04-15T19:54:33Z","updated_at":"2016-03-16T13:06:52Z","pushed_at":"2016-08-24T23:26:50Z","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":59,"stargazers_count":11,"watchers_count":11,"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":11,"default_branch":"master"}},"base":{"label":"PolymerElements:master","ref":"master","sha":"05514d6f32ade6fe54de5b242bbb43ea9dcff3c0","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}","deployments_url":"https://api.github.com/repos/PolymerElements/test-fixture/deployments","created_at":"2015-04-15T19:54:33Z","updated_at":"2016-03-16T13:06:52Z","pushed_at":"2016-08-24T23:26:50Z","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":59,"stargazers_count":11,"watchers_count":11,"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":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/37"},"html":{"href":"https://github.com/PolymerElements/test-fixture/pull/37"},"issue":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/issues/37"},"comments":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/pulls/37/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/37/commits"},"statuses":{"href":"https://api.github.com/repos/PolymerElements/test-fixture/statuses/72df9cc6e72e670525e4f5bf8028d76e9cbf4594"}}}}
{"actor":{"display_login":"bicknellr"}}