mirror of
https://github.com/jaandrle/deka-dom-el
synced 2026-01-11 16:26:28 +01:00
💥 append, elNS, el.mark, el.later
This commit is contained in:
5
jsdom.js
5
jsdom.js
@@ -19,11 +19,6 @@ export function register(dom, keys_aditional= []){
|
||||
globalThis.window= w;
|
||||
w.console= globalThis.console;
|
||||
}
|
||||
if(typeof document.createDocumentFragment().append()==="undefined")
|
||||
[ HTMLElement, SVGElement, DocumentFragment ].forEach(c=> {
|
||||
const { append }= c.prototype;
|
||||
c.prototype.append= function(...els){ append.apply(this, els); return this; };
|
||||
});
|
||||
dom_last= dom;
|
||||
|
||||
return import("./index.js");
|
||||
|
||||
Reference in New Issue
Block a user