diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-08-25 10:02:27 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-08-25 10:02:27 +0530 |
| commit | 2f99128e354e5c5334094f072767164c8e4fbd2f (patch) | |
| tree | 60d563381a9583b8c6f70728780132aa684bca98 /src/index.ts | |
| parent | e5844314314709dfd2806019aa5d522189129497 (diff) | |
| download | css-everything-2f99128e354e5c5334094f072767164c8e4fbd2f.tar.gz css-everything-2f99128e354e5c5334094f072767164c8e4fbd2f.zip | |
feat: adds clock example
Diffstat (limited to 'src/index.ts')
| -rw-r--r-- | src/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts index 97bd000..e5803d2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -193,7 +193,9 @@ const getEvalActions = ( const result = await evalExprInScope(exprs, getEvalActions(node, ctx)) - node.parentNode?.removeChild(node) + if (!$element.hasAttribute('data-debug-stack')) { + node.parentNode?.removeChild(node) + } return result }, |
