aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts
index e7e42cb..97bd000 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -187,14 +187,13 @@ const getEvalActions = (
for (const [key, evalVal] of Object.entries(properties)) {
const value = evalValueToString(evalVal)
- console.log(key, evalVal, value)
value && node.style.setProperty(key, value)
}
$element.appendChild(node)
const result = await evalExprInScope(exprs, getEvalActions(node, ctx))
- // node.parentNode?.removeChild(node)
+ node.parentNode?.removeChild(node)
return result
},