diff --git a/use.js b/use.js index 4598fc6..7eb320f 100644 --- a/use.js +++ b/use.js @@ -10,6 +10,7 @@ const apply = (func, node) => { export const use = node => { const code = Function("return (" + node.getAttribute("use") + ")") + node.removeAttribute("use") const func = code() apply(func, node) }