diff options
author | bptato <nincsnevem662@gmail.com> | 2023-08-20 18:26:46 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-08-20 18:26:46 +0200 |
commit | 8ff2a684e5e4e216ae867e92254b36b0481505d4 (patch) | |
tree | 04b10845f1aaedb849b22175cab7ec727d99e3ed /src | |
parent | b75466f2f974e1a0c3e59b4cdffae668ba1d86df (diff) | |
download | chawan-8ff2a684e5e4e216ae867e92254b36b0481505d4.tar.gz |
javascript: remove stray eprint
oops
Diffstat (limited to 'src')
-rw-r--r-- | src/js/javascript.nim | 2 |
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) |