mirror of
https://github.com/jaandrle/deka-dom-el
synced 2026-01-11 16:26:28 +01:00
docs + ssr fixes
This commit is contained in:
9
index.js
9
index.js
@@ -1,6 +1,7 @@
|
||||
[ HTMLElement, SVGElement, DocumentFragment ].forEach(c=> {
|
||||
const { append }= c.prototype;
|
||||
c.prototype.append= function(...els){ append.apply(this, els); return this; };
|
||||
});
|
||||
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