mirror of
https://github.com/jaandrle/deka-dom-el
synced 2024-11-22 07:49:38 +01:00
8 lines
311 B
JavaScript
8 lines
311 B
JavaScript
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";
|