Skip to content

Commit

Permalink
Merge pull request #5 from neroist/patch-2
Browse files Browse the repository at this point in the history
Remove debug `dumpTree` and `echo` statements
  • Loading branch information
Ethosa authored Jun 10, 2024
2 parents f7d4ce9 + 1f3c3a9 commit c1a24db
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/happyx_native/app/app.nim
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ macro callback*(body: untyped) =
var params: seq[NimNode] = @[]
for param in statement.params:
params.add(param)
dumpTree:
{.gcsafe.}:
echo 1
var prc = newProc(
statement.name,
params,
Expand Down Expand Up @@ -117,8 +114,6 @@ macro callback*(body: untyped) =
nnkTemplateDef
)
)
echo result.toStrLit


macro callJsAsync*(funcName: string, params: varargs[untyped]) =
quote do:
Expand Down

0 comments on commit c1a24db

Please sign in to comment.