Skip to content

Commit

Permalink
Process excludefromidl during partial builds
Browse files Browse the repository at this point in the history
Fixes #676 (in a hacky way, but it's a hacky script)

NEEDS a server whitelist.
  • Loading branch information
AmeliaBR committed May 9, 2019
1 parent 6c7d452 commit a1147a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/publish/processing.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,8 @@ function doCompleteIDL(conf, page, n) {
utils.forEachNode(doc, function(n) {
if (n.nodeType == n.ELEMENT_NODE &&
n.localName == "pre" &&
/\bidl\b/.test(n.getAttribute("class")) ) {
if (n.svg_excludefromidl) {
/\bidl\b/.test(n.getAttribute("class")) ) {
if (n.svg_excludefromidl||n.hasAttribute("edit:excludefromidl")) {
delete n.svg_excludefromidl;
return;
}
Expand Down

0 comments on commit a1147a0

Please sign in to comment.