diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-08-25 09:30:56 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-08-25 09:30:56 +0530 |
| commit | e5844314314709dfd2806019aa5d522189129497 (patch) | |
| tree | 87e321a235b0b2ab11cbba1b7e6e485d5f042d42 /src/index.ts | |
| parent | da25e0da579da33dffddd16b9a564f358205c43b (diff) | |
| download | css-everything-e5844314314709dfd2806019aa5d522189129497.tar.gz css-everything-e5844314314709dfd2806019aa5d522189129497.zip | |
refactor: adds Value type to represent generic js values
Diffstat (limited to 'src/index.ts')
| -rw-r--r-- | src/index.ts | 3 |
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 }, |
