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
index.js
5
index.js
@@ -1,7 +1,2 @@
|
||||
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; };
|
||||
});
|
||||
export * from "./src/dom.js";
|
||||
export * from "./src/events.js";
|
||||
|
||||
Reference in New Issue
Block a user