about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-08-20 18:26:46 +0200
committerbptato <nincsnevem662@gmail.com>2023-08-20 18:26:46 +0200
commit8ff2a684e5e4e216ae867e92254b36b0481505d4 (patch)
tree04b10845f1aaedb849b22175cab7ec727d99e3ed
parentb75466f2f974e1a0c3e59b4cdffae668ba1d86df (diff)
downloadchawan-8ff2a684e5e4e216ae867e92254b36b0481505d4.tar.gz
javascript: remove stray eprint
oops
-rw-r--r--src/js/javascript.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/js/javascript.nim b/src/js/javascript.nim
index 849299d4..cba2af59 100644
--- a/src/js/javascript.nim
+++ b/src/js/javascript.nim
@@ -456,8 +456,6 @@ func newJSClass*(ctx: JSContext, cdef: JSClassDefConst, tname: string,
         $cdef.class_name)
     if unforgeable.len != 0:
       let p = addr ctxOpaque.unforgeable[result][0]
-      for x in ctxOpaque.unforgeable[result]:
-        eprint "set global", x.name
       JS_SetPropertyFunctionList(ctx, global, p, cint(unforgeable.len))
     JS_FreeValue(ctx, global)
   let jctor = ctx.newJSCFunction($cdef.class_name, ctor, 0, JS_CFUNC_constructor)