import {
init,
attributesModule,
- toVNode
-} from "snabbdom";
+ toVNode,
+} from 'snabbdom';
let patcher;
function getPatcher() {
if (patcher) return patcher;
-
patcher = init([
attributesModule,
]);
const contentDom = document.createElement('div');
contentDom.innerHTML = html;
getPatcher()(toVNode(domTarget), toVNode(contentDom));
-}
\ No newline at end of file
+}