run tests after update
This commit is contained in:
7
dist/extensions/imagelib/openclipart.js
vendored
7
dist/extensions/imagelib/openclipart.js
vendored
@@ -765,8 +765,7 @@
|
||||
while (node.childNodes[j]) {
|
||||
const cn = node.childNodes[j];
|
||||
cn.remove(); // `j` should stay the same as removing will cause node to be present
|
||||
} // eslint-disable-next-line unicorn/no-fn-reference-in-iterator
|
||||
|
||||
}
|
||||
|
||||
attVal.childNodes.forEach(_childrenToJML(node));
|
||||
} else {
|
||||
@@ -792,13 +791,11 @@
|
||||
}
|
||||
|
||||
if (attVal.head) {
|
||||
// eslint-disable-next-line unicorn/no-fn-reference-in-iterator
|
||||
attVal.head.forEach(_appendJML(head));
|
||||
}
|
||||
}
|
||||
|
||||
if (attVal.body) {
|
||||
// eslint-disable-next-line unicorn/no-fn-reference-in-iterator
|
||||
attVal.body.forEach(_appendJMLOrText(body));
|
||||
}
|
||||
}
|
||||
@@ -1067,7 +1064,7 @@
|
||||
// Todo: Fix to allow application of stylesheets of style tags within fragments?
|
||||
|
||||
|
||||
return nodes.length <= 1 ? nodes[0] // eslint-disable-next-line unicorn/no-fn-reference-in-iterator
|
||||
return nodes.length <= 1 ? nodes[0] // eslint-disable-next-line
|
||||
: nodes.reduce(_fragReducer, doc.createDocumentFragment()); // nodes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user