Terser
This commit is contained in:
parent
2f34cfa588
commit
208af3ebb6
|
@ -64,10 +64,7 @@ export class HtmlFragments implements FlattenInto {
|
|||
}
|
||||
for (const p of Array.from(n.content.querySelectorAll('placeholder'))) {
|
||||
const e = nodeMap[p.id];
|
||||
if (e) {
|
||||
p.parentNode!.insertBefore(e, p);
|
||||
p.remove();
|
||||
}
|
||||
if (e) p.parentNode!.replaceChild(e, p);
|
||||
}
|
||||
if (this.contextElementName !== void 0) {
|
||||
return Array.from(n.content.firstElementChild!.childNodes);
|
||||
|
|
Loading…
Reference in New Issue