diff options
author | bptato <nincsnevem662@gmail.com> | 2023-09-19 15:33:10 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-09-19 15:34:29 +0200 |
commit | bb2d3724848d6ac5a34308a4bbaca050aac0e6c5 (patch) | |
tree | 3d74853dced7436cb127bb59322f1b7ff0458b14 /src/bindings | |
parent | 01d0756d5b01d8302748ff97fe6513c2b98049bb (diff) | |
download | chawan-bb2d3724848d6ac5a34308a4bbaca050aac0e6c5.tar.gz |
dom: add document.all, misc fixes
* Fix an issue with Collection cache invalidation (we must invalidate collections of the parent node on insertion, so that it triggers a refresh). * Remove circular reference of document.document, now we use a function instead.
Diffstat (limited to 'src/bindings')
-rw-r--r-- | src/bindings/quickjs.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bindings/quickjs.nim b/src/bindings/quickjs.nim index 7169c480..17bac15a 100644 --- a/src/bindings/quickjs.nim +++ b/src/bindings/quickjs.nim @@ -424,6 +424,7 @@ proc JS_FreeCString*(ctx: JSContext, `ptr`: cstring) proc JS_Eval*(ctx: JSContext, input: cstring, input_len: cint, filename: cstring, eval_flags: cint): JSValue proc JS_SetInterruptHandler*(rt: JSRuntime, cb: JSInterruptHandler, opaque: pointer) proc JS_SetCanBlock*(rt: JSRuntime, can_block: JS_BOOL) +proc JS_SetIsHTMLDDA*(ctx: JSContext, obj: JSValue) proc JS_IsNumber*(v: JSValue): JS_BOOL proc JS_IsBigInt*(v: JSValue): JS_BOOL |