From 8ff2a684e5e4e216ae867e92254b36b0481505d4 Mon Sep 17 00:00:00 2001 From: bptato Date: Sun, 20 Aug 2023 18:26:46 +0200 Subject: javascript: remove stray eprint oops --- src/js/javascript.nim | 2 -- 1 file changed, 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) -- cgit 1.4.1-2-gfad0