{"action":"created","comment":{"url":"https://api.github.com/repos/skatejs/skatejs/pulls/comments/23066073","id":23066073,"diff_hunk":"@@ -10,9 +31,18 @@ export default {\n     return element;\n   },\n \n-  fixture: function (html) {\n-    var fixture = document.getElementById('fixture');\n+  fixture: function (html, tagName) {\n+    if (typeof html === 'string' && typeof tagName !== 'undefined') {","path":"test/lib/helpers.js","position":39,"original_position":39,"commit_id":"3c9d0222146e052f4152cc055d8d6acda1afdfb5","original_commit_id":"3c9d0222146e052f4152cc055d8d6acda1afdfb5","user":{"login":"nicolasv","id":50625,"avatar_url":"https://avatars.githubusercontent.com/u/50625?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasv","html_url":"https://github.com/nicolasv","followers_url":"https://api.github.com/users/nicolasv/followers","following_url":"https://api.github.com/users/nicolasv/following{/other_user}","gists_url":"https://api.github.com/users/nicolasv/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasv/subscriptions","organizations_url":"https://api.github.com/users/nicolasv/orgs","repos_url":"https://api.github.com/users/nicolasv/repos","events_url":"https://api.github.com/users/nicolasv/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasv/received_events","type":"User","site_admin":false},"body":"This entire block should be moved into the `if (typeof html === 'string')` block below.","created_at":"2015-01-16T07:20:53Z","updated_at":"2015-01-16T07:20:53Z","html_url":"https://github.com/skatejs/skatejs/pull/124#discussion_r23066073","pull_request_url":"https://api.github.com/repos/skatejs/skatejs/pulls/124","_links":{"self":{"href":"https://api.github.com/repos/skatejs/skatejs/pulls/comments/23066073"},"html":{"href":"https://github.com/skatejs/skatejs/pull/124#discussion_r23066073"},"pull_request":{"href":"https://api.github.com/repos/skatejs/skatejs/pulls/124"}}},"pull_request":{"url":"https://api.github.com/repos/skatejs/skatejs/pulls/124","id":27485028,"html_url":"https://github.com/skatejs/skatejs/pull/124","diff_url":"https://github.com/skatejs/skatejs/pull/124.diff","patch_url":"https://github.com/skatejs/skatejs/pull/124.patch","issue_url":"https://api.github.com/repos/skatejs/skatejs/issues/124","number":124,"state":"open","locked":false,"title":"Unique tag names in tests to avoid re-registration errors (#120)","user":{"login":"nicolasv","id":50625,"avatar_url":"https://avatars.githubusercontent.com/u/50625?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasv","html_url":"https://github.com/nicolasv","followers_url":"https://api.github.com/users/nicolasv/followers","following_url":"https://api.github.com/users/nicolasv/following{/other_user}","gists_url":"https://api.github.com/users/nicolasv/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasv/subscriptions","organizations_url":"https://api.github.com/users/nicolasv/orgs","repos_url":"https://api.github.com/users/nicolasv/repos","events_url":"https://api.github.com/users/nicolasv/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasv/received_events","type":"User","site_admin":false},"body":"Fixes #120.","created_at":"2015-01-16T05:27:30Z","updated_at":"2015-01-16T07:20:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6303d55136833bfac310710c2018cac080057f65","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/skatejs/skatejs/pulls/124/commits","review_comments_url":"https://api.github.com/repos/skatejs/skatejs/pulls/124/comments","review_comment_url":"https://api.github.com/repos/skatejs/skatejs/pulls/comments/{number}","comments_url":"https://api.github.com/repos/skatejs/skatejs/issues/124/comments","statuses_url":"https://api.github.com/repos/skatejs/skatejs/statuses/3c9d0222146e052f4152cc055d8d6acda1afdfb5","head":{"label":"skatejs:120-unique-test-tagnames","ref":"120-unique-test-tagnames","sha":"3c9d0222146e052f4152cc055d8d6acda1afdfb5","user":{"login":"skatejs","id":7636121,"avatar_url":"https://avatars.githubusercontent.com/u/7636121?v=3","gravatar_id":"","url":"https://api.github.com/users/skatejs","html_url":"https://github.com/skatejs","followers_url":"https://api.github.com/users/skatejs/followers","following_url":"https://api.github.com/users/skatejs/following{/other_user}","gists_url":"https://api.github.com/users/skatejs/gists{/gist_id}","starred_url":"https://api.github.com/users/skatejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skatejs/subscriptions","organizations_url":"https://api.github.com/users/skatejs/orgs","repos_url":"https://api.github.com/users/skatejs/repos","events_url":"https://api.github.com/users/skatejs/events{/privacy}","received_events_url":"https://api.github.com/users/skatejs/received_events","type":"Organization","site_admin":false},"repo":{"id":16425042,"name":"skatejs","full_name":"skatejs/skatejs","owner":{"login":"skatejs","id":7636121,"avatar_url":"https://avatars.githubusercontent.com/u/7636121?v=3","gravatar_id":"","url":"https://api.github.com/users/skatejs","html_url":"https://github.com/skatejs","followers_url":"https://api.github.com/users/skatejs/followers","following_url":"https://api.github.com/users/skatejs/following{/other_user}","gists_url":"https://api.github.com/users/skatejs/gists{/gist_id}","starred_url":"https://api.github.com/users/skatejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skatejs/subscriptions","organizations_url":"https://api.github.com/users/skatejs/orgs","repos_url":"https://api.github.com/users/skatejs/repos","events_url":"https://api.github.com/users/skatejs/events{/privacy}","received_events_url":"https://api.github.com/users/skatejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/skatejs/skatejs","description":"Skate is a web component library that is focused on being a tiny, performant, syntactic-sugar for binding behaviour to custom and existing elements without ever having to worry about when your element is inserted into the DOM.","fork":false,"url":"https://api.github.com/repos/skatejs/skatejs","forks_url":"https://api.github.com/repos/skatejs/skatejs/forks","keys_url":"https://api.github.com/repos/skatejs/skatejs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skatejs/skatejs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skatejs/skatejs/teams","hooks_url":"https://api.github.com/repos/skatejs/skatejs/hooks","issue_events_url":"https://api.github.com/repos/skatejs/skatejs/issues/events{/number}","events_url":"https://api.github.com/repos/skatejs/skatejs/events","assignees_url":"https://api.github.com/repos/skatejs/skatejs/assignees{/user}","branches_url":"https://api.github.com/repos/skatejs/skatejs/branches{/branch}","tags_url":"https://api.github.com/repos/skatejs/skatejs/tags","blobs_url":"https://api.github.com/repos/skatejs/skatejs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skatejs/skatejs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skatejs/skatejs/git/refs{/sha}","trees_url":"https://api.github.com/repos/skatejs/skatejs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skatejs/skatejs/statuses/{sha}","languages_url":"https://api.github.com/repos/skatejs/skatejs/languages","stargazers_url":"https://api.github.com/repos/skatejs/skatejs/stargazers","contributors_url":"https://api.github.com/repos/skatejs/skatejs/contributors","subscribers_url":"https://api.github.com/repos/skatejs/skatejs/subscribers","subscription_url":"https://api.github.com/repos/skatejs/skatejs/subscription","commits_url":"https://api.github.com/repos/skatejs/skatejs/commits{/sha}","git_commits_url":"https://api.github.com/repos/skatejs/skatejs/git/commits{/sha}","comments_url":"https://api.github.com/repos/skatejs/skatejs/comments{/number}","issue_comment_url":"https://api.github.com/repos/skatejs/skatejs/issues/comments/{number}","contents_url":"https://api.github.com/repos/skatejs/skatejs/contents/{+path}","compare_url":"https://api.github.com/repos/skatejs/skatejs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skatejs/skatejs/merges","archive_url":"https://api.github.com/repos/skatejs/skatejs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skatejs/skatejs/downloads","issues_url":"https://api.github.com/repos/skatejs/skatejs/issues{/number}","pulls_url":"https://api.github.com/repos/skatejs/skatejs/pulls{/number}","milestones_url":"https://api.github.com/repos/skatejs/skatejs/milestones{/number}","notifications_url":"https://api.github.com/repos/skatejs/skatejs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skatejs/skatejs/labels{/name}","releases_url":"https://api.github.com/repos/skatejs/skatejs/releases{/id}","created_at":"2014-02-01T00:32:47Z","updated_at":"2015-01-16T04:11:23Z","pushed_at":"2015-01-16T05:24:11Z","git_url":"git://github.com/skatejs/skatejs.git","ssh_url":"git@github.com:skatejs/skatejs.git","clone_url":"https://github.com/skatejs/skatejs.git","svn_url":"https://github.com/skatejs/skatejs","homepage":"","size":3215,"stargazers_count":372,"watchers_count":372,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":13,"forks":9,"open_issues":13,"watchers":372,"default_branch":"master"}},"base":{"label":"skatejs:master","ref":"master","sha":"621de5a69aa8da55707bc55e91dedcc0f3174206","user":{"login":"skatejs","id":7636121,"avatar_url":"https://avatars.githubusercontent.com/u/7636121?v=3","gravatar_id":"","url":"https://api.github.com/users/skatejs","html_url":"https://github.com/skatejs","followers_url":"https://api.github.com/users/skatejs/followers","following_url":"https://api.github.com/users/skatejs/following{/other_user}","gists_url":"https://api.github.com/users/skatejs/gists{/gist_id}","starred_url":"https://api.github.com/users/skatejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skatejs/subscriptions","organizations_url":"https://api.github.com/users/skatejs/orgs","repos_url":"https://api.github.com/users/skatejs/repos","events_url":"https://api.github.com/users/skatejs/events{/privacy}","received_events_url":"https://api.github.com/users/skatejs/received_events","type":"Organization","site_admin":false},"repo":{"id":16425042,"name":"skatejs","full_name":"skatejs/skatejs","owner":{"login":"skatejs","id":7636121,"avatar_url":"https://avatars.githubusercontent.com/u/7636121?v=3","gravatar_id":"","url":"https://api.github.com/users/skatejs","html_url":"https://github.com/skatejs","followers_url":"https://api.github.com/users/skatejs/followers","following_url":"https://api.github.com/users/skatejs/following{/other_user}","gists_url":"https://api.github.com/users/skatejs/gists{/gist_id}","starred_url":"https://api.github.com/users/skatejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skatejs/subscriptions","organizations_url":"https://api.github.com/users/skatejs/orgs","repos_url":"https://api.github.com/users/skatejs/repos","events_url":"https://api.github.com/users/skatejs/events{/privacy}","received_events_url":"https://api.github.com/users/skatejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/skatejs/skatejs","description":"Skate is a web component library that is focused on being a tiny, performant, syntactic-sugar for binding behaviour to custom and existing elements without ever having to worry about when your element is inserted into the DOM.","fork":false,"url":"https://api.github.com/repos/skatejs/skatejs","forks_url":"https://api.github.com/repos/skatejs/skatejs/forks","keys_url":"https://api.github.com/repos/skatejs/skatejs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skatejs/skatejs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skatejs/skatejs/teams","hooks_url":"https://api.github.com/repos/skatejs/skatejs/hooks","issue_events_url":"https://api.github.com/repos/skatejs/skatejs/issues/events{/number}","events_url":"https://api.github.com/repos/skatejs/skatejs/events","assignees_url":"https://api.github.com/repos/skatejs/skatejs/assignees{/user}","branches_url":"https://api.github.com/repos/skatejs/skatejs/branches{/branch}","tags_url":"https://api.github.com/repos/skatejs/skatejs/tags","blobs_url":"https://api.github.com/repos/skatejs/skatejs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skatejs/skatejs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skatejs/skatejs/git/refs{/sha}","trees_url":"https://api.github.com/repos/skatejs/skatejs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skatejs/skatejs/statuses/{sha}","languages_url":"https://api.github.com/repos/skatejs/skatejs/languages","stargazers_url":"https://api.github.com/repos/skatejs/skatejs/stargazers","contributors_url":"https://api.github.com/repos/skatejs/skatejs/contributors","subscribers_url":"https://api.github.com/repos/skatejs/skatejs/subscribers","subscription_url":"https://api.github.com/repos/skatejs/skatejs/subscription","commits_url":"https://api.github.com/repos/skatejs/skatejs/commits{/sha}","git_commits_url":"https://api.github.com/repos/skatejs/skatejs/git/commits{/sha}","comments_url":"https://api.github.com/repos/skatejs/skatejs/comments{/number}","issue_comment_url":"https://api.github.com/repos/skatejs/skatejs/issues/comments/{number}","contents_url":"https://api.github.com/repos/skatejs/skatejs/contents/{+path}","compare_url":"https://api.github.com/repos/skatejs/skatejs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skatejs/skatejs/merges","archive_url":"https://api.github.com/repos/skatejs/skatejs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skatejs/skatejs/downloads","issues_url":"https://api.github.com/repos/skatejs/skatejs/issues{/number}","pulls_url":"https://api.github.com/repos/skatejs/skatejs/pulls{/number}","milestones_url":"https://api.github.com/repos/skatejs/skatejs/milestones{/number}","notifications_url":"https://api.github.com/repos/skatejs/skatejs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skatejs/skatejs/labels{/name}","releases_url":"https://api.github.com/repos/skatejs/skatejs/releases{/id}","created_at":"2014-02-01T00:32:47Z","updated_at":"2015-01-16T04:11:23Z","pushed_at":"2015-01-16T05:24:11Z","git_url":"git://github.com/skatejs/skatejs.git","ssh_url":"git@github.com:skatejs/skatejs.git","clone_url":"https://github.com/skatejs/skatejs.git","svn_url":"https://github.com/skatejs/skatejs","homepage":"","size":3215,"stargazers_count":372,"watchers_count":372,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":13,"forks":9,"open_issues":13,"watchers":372,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/skatejs/skatejs/pulls/124"},"html":{"href":"https://github.com/skatejs/skatejs/pull/124"},"issue":{"href":"https://api.github.com/repos/skatejs/skatejs/issues/124"},"comments":{"href":"https://api.github.com/repos/skatejs/skatejs/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/skatejs/skatejs/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/skatejs/skatejs/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/skatejs/skatejs/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/skatejs/skatejs/statuses/3c9d0222146e052f4152cc055d8d6acda1afdfb5"}}}}