Skip to content

Commit f3fc4b7

Browse files
committed
Removed debug log and added clear for AST before rendering
1 parent ed7a612 commit f3fc4b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/playground/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function onSpellStart(event: OnSpellStartEvent): void {
117117

118118
tstlWorker.onmessage = (event: MessageEvent) => {
119119
luaEditor.setValue(event.data.luaStr);
120-
console.log(event.data.luaAST);
120+
astLua.innerText = "";
121121
astLua.appendChild(
122122
renderjson
123123
.set_show_to_level(1)

0 commit comments

Comments
 (0)