{"action":"created","comment":{"url":"https://api.github.com/repos/w3c/svgwg/pulls/comments/215102061","pull_request_review_id":152295873,"id":215102061,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTEwMjA2MQ==","diff_hunk":"@@ -419,8 +419,9 @@ function doCompleteIDL(conf, page, n) {\n     utils.forEachNode(doc, function(n) {\n       if (n.nodeType == n.ELEMENT_NODE &&\n           n.localName == \"pre\" &&\n-          n.getAttribute(\"class\") == \"idl\") {\n-        if (n.classList.contains(\"extract\")) {\n+          /\\bidl\\b/.test(n.getAttribute(\"class\")) ) {","path":"tools/publish/processing.js","position":6,"original_position":6,"commit_id":"5295194d6a12c6da8439077702fb43892a178f16","original_commit_id":"5295194d6a12c6da8439077702fb43892a178f16","user":{"login":"AmeliaBR","id":9876129,"node_id":"MDQ6VXNlcjk4NzYxMjk=","avatar_url":"https://avatars2.githubusercontent.com/u/9876129?v=4","gravatar_id":"","url":"https://api.github.com/users/AmeliaBR","html_url":"https://github.com/AmeliaBR","followers_url":"https://api.github.com/users/AmeliaBR/followers","following_url":"https://api.github.com/users/AmeliaBR/following{/other_user}","gists_url":"https://api.github.com/users/AmeliaBR/gists{/gist_id}","starred_url":"https://api.github.com/users/AmeliaBR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmeliaBR/subscriptions","organizations_url":"https://api.github.com/users/AmeliaBR/orgs","repos_url":"https://api.github.com/users/AmeliaBR/repos","events_url":"https://api.github.com/users/AmeliaBR/events{/privacy}","received_events_url":"https://api.github.com/users/AmeliaBR/received_events","type":"User","site_admin":false},"body":"I don't think xmldom exposes `className` (unless they've added it and not changed their docs).\r\n\r\nAs you mentioned elsewhere, xmldom might not be the most ideal tool to use, but I'm trying to minimize changes to the tools. When we do change the SVG build system, it will to be replace it with a well-maintained alternative like Bikeshed.","created_at":"2018-09-05T00:04:28Z","updated_at":"2018-09-05T00:04:28Z","html_url":"https://github.com/w3c/svgwg/pull/539#discussion_r215102061","pull_request_url":"https://api.github.com/repos/w3c/svgwg/pulls/539","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/w3c/svgwg/pulls/comments/215102061"},"html":{"href":"https://github.com/w3c/svgwg/pull/539#discussion_r215102061"},"pull_request":{"href":"https://api.github.com/repos/w3c/svgwg/pulls/539"}},"in_reply_to_id":214819361},"pull_request":{"url":"https://api.github.com/repos/w3c/svgwg/pulls/539","id":212836013,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyODM2MDEz","html_url":"https://github.com/w3c/svgwg/pull/539","diff_url":"https://github.com/w3c/svgwg/pull/539.diff","patch_url":"https://github.com/w3c/svgwg/pull/539.patch","issue_url":"https://api.github.com/repos/w3c/svgwg/issues/539","number":539,"state":"open","locked":false,"title":"Revert & replace changes from PR #495","user":{"login":"AmeliaBR","id":9876129,"node_id":"MDQ6VXNlcjk4NzYxMjk=","avatar_url":"https://avatars2.githubusercontent.com/u/9876129?v=4","gravatar_id":"","url":"https://api.github.com/users/AmeliaBR","html_url":"https://github.com/AmeliaBR","followers_url":"https://api.github.com/users/AmeliaBR/followers","following_url":"https://api.github.com/users/AmeliaBR/following{/other_user}","gists_url":"https://api.github.com/users/AmeliaBR/gists{/gist_id}","starred_url":"https://api.github.com/users/AmeliaBR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmeliaBR/subscriptions","organizations_url":"https://api.github.com/users/AmeliaBR/orgs","repos_url":"https://api.github.com/users/AmeliaBR/repos","events_url":"https://api.github.com/users/AmeliaBR/events{/privacy}","received_events_url":"https://api.github.com/users/AmeliaBR/received_events","type":"User","site_admin":false},"body":"Reverts commit 63a42e41f0009ef737ab9f58f83e689ed88007ef\r\n\r\nCreates the same effect using the build system:\r\nelements with the `edit:excludefromidl=\"true\"` attribute in the source\r\nare given the class \"extract\" in the build.\r\nWhich apparently has an effect in the Reffy system\r\n(for parsing the IDL of different specs),\r\nthough I'm not sure exactly what.\r\nSee https://github.com/tidoust/reffy/issues/123","created_at":"2018-09-04T01:38:12Z","updated_at":"2018-09-05T00:04:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df6c0f5e23ec9b93fd3dc20fb9393df37be6e7c6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":335236851,"node_id":"MDU6TGFiZWwzMzUyMzY4NTE=","url":"https://api.github.com/repos/w3c/svgwg/labels/Tools","name":"Tools","color":"fccde5","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/w3c/svgwg/pulls/539/commits","review_comments_url":"https://api.github.com/repos/w3c/svgwg/pulls/539/comments","review_comment_url":"https://api.github.com/repos/w3c/svgwg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w3c/svgwg/issues/539/comments","statuses_url":"https://api.github.com/repos/w3c/svgwg/statuses/5295194d6a12c6da8439077702fb43892a178f16","head":{"label":"w3c:fix-495","ref":"fix-495","sha":"5295194d6a12c6da8439077702fb43892a178f16","user":{"login":"w3c","id":379216,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTIxNg==","avatar_url":"https://avatars2.githubusercontent.com/u/379216?v=4","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":23254194,"node_id":"MDEwOlJlcG9zaXRvcnkyMzI1NDE5NA==","name":"svgwg","full_name":"w3c/svgwg","owner":{"login":"w3c","id":379216,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTIxNg==","avatar_url":"https://avatars2.githubusercontent.com/u/379216?v=4","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/svgwg","description":"SVG Working Group specifications","fork":false,"url":"https://api.github.com/repos/w3c/svgwg","forks_url":"https://api.github.com/repos/w3c/svgwg/forks","keys_url":"https://api.github.com/repos/w3c/svgwg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/svgwg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/svgwg/teams","hooks_url":"https://api.github.com/repos/w3c/svgwg/hooks","issue_events_url":"https://api.github.com/repos/w3c/svgwg/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/svgwg/events","assignees_url":"https://api.github.com/repos/w3c/svgwg/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/svgwg/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/svgwg/tags","blobs_url":"https://api.github.com/repos/w3c/svgwg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/svgwg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/svgwg/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/svgwg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/svgwg/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/svgwg/languages","stargazers_url":"https://api.github.com/repos/w3c/svgwg/stargazers","contributors_url":"https://api.github.com/repos/w3c/svgwg/contributors","subscribers_url":"https://api.github.com/repos/w3c/svgwg/subscribers","subscription_url":"https://api.github.com/repos/w3c/svgwg/subscription","commits_url":"https://api.github.com/repos/w3c/svgwg/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/svgwg/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/svgwg/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/svgwg/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/svgwg/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/svgwg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/svgwg/merges","archive_url":"https://api.github.com/repos/w3c/svgwg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/svgwg/downloads","issues_url":"https://api.github.com/repos/w3c/svgwg/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/svgwg/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/svgwg/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/svgwg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/svgwg/labels{/name}","releases_url":"https://api.github.com/repos/w3c/svgwg/releases{/id}","deployments_url":"https://api.github.com/repos/w3c/svgwg/deployments","created_at":"2014-08-23T11:19:28Z","updated_at":"2018-09-04T09:32:15Z","pushed_at":"2018-09-04T04:11:09Z","git_url":"git://github.com/w3c/svgwg.git","ssh_url":"git@github.com:w3c/svgwg.git","clone_url":"https://github.com/w3c/svgwg.git","svn_url":"https://github.com/w3c/svgwg","homepage":null,"size":41982,"stargazers_count":351,"watchers_count":351,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":54,"mirror_url":null,"archived":false,"open_issues_count":210,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":54,"open_issues":210,"watchers":351,"default_branch":"master"}},"base":{"label":"w3c:master","ref":"master","sha":"c6eeee51b6d0a5951a6af0c93bcd6f38f9ef04f4","user":{"login":"w3c","id":379216,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTIxNg==","avatar_url":"https://avatars2.githubusercontent.com/u/379216?v=4","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":23254194,"node_id":"MDEwOlJlcG9zaXRvcnkyMzI1NDE5NA==","name":"svgwg","full_name":"w3c/svgwg","owner":{"login":"w3c","id":379216,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTIxNg==","avatar_url":"https://avatars2.githubusercontent.com/u/379216?v=4","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/svgwg","description":"SVG Working Group specifications","fork":false,"url":"https://api.github.com/repos/w3c/svgwg","forks_url":"https://api.github.com/repos/w3c/svgwg/forks","keys_url":"https://api.github.com/repos/w3c/svgwg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/svgwg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/svgwg/teams","hooks_url":"https://api.github.com/repos/w3c/svgwg/hooks","issue_events_url":"https://api.github.com/repos/w3c/svgwg/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/svgwg/events","assignees_url":"https://api.github.com/repos/w3c/svgwg/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/svgwg/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/svgwg/tags","blobs_url":"https://api.github.com/repos/w3c/svgwg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/svgwg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/svgwg/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/svgwg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/svgwg/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/svgwg/languages","stargazers_url":"https://api.github.com/repos/w3c/svgwg/stargazers","contributors_url":"https://api.github.com/repos/w3c/svgwg/contributors","subscribers_url":"https://api.github.com/repos/w3c/svgwg/subscribers","subscription_url":"https://api.github.com/repos/w3c/svgwg/subscription","commits_url":"https://api.github.com/repos/w3c/svgwg/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/svgwg/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/svgwg/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/svgwg/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/svgwg/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/svgwg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/svgwg/merges","archive_url":"https://api.github.com/repos/w3c/svgwg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/svgwg/downloads","issues_url":"https://api.github.com/repos/w3c/svgwg/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/svgwg/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/svgwg/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/svgwg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/svgwg/labels{/name}","releases_url":"https://api.github.com/repos/w3c/svgwg/releases{/id}","deployments_url":"https://api.github.com/repos/w3c/svgwg/deployments","created_at":"2014-08-23T11:19:28Z","updated_at":"2018-09-04T09:32:15Z","pushed_at":"2018-09-04T04:11:09Z","git_url":"git://github.com/w3c/svgwg.git","ssh_url":"git@github.com:w3c/svgwg.git","clone_url":"https://github.com/w3c/svgwg.git","svn_url":"https://github.com/w3c/svgwg","homepage":null,"size":41982,"stargazers_count":351,"watchers_count":351,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":54,"mirror_url":null,"archived":false,"open_issues_count":210,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":54,"open_issues":210,"watchers":351,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/w3c/svgwg/pulls/539"},"html":{"href":"https://github.com/w3c/svgwg/pull/539"},"issue":{"href":"https://api.github.com/repos/w3c/svgwg/issues/539"},"comments":{"href":"https://api.github.com/repos/w3c/svgwg/issues/539/comments"},"review_comments":{"href":"https://api.github.com/repos/w3c/svgwg/pulls/539/comments"},"review_comment":{"href":"https://api.github.com/repos/w3c/svgwg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w3c/svgwg/pulls/539/commits"},"statuses":{"href":"https://api.github.com/repos/w3c/svgwg/statuses/5295194d6a12c6da8439077702fb43892a178f16"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"AmeliaBR"}}