From 2f99128e354e5c5334094f072767164c8e4fbd2f Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 25 Aug 2023 10:02:27 +0530 Subject: feat: adds clock example --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 }, -- cgit v1.3.1