Hello,
I have detect two missing things in JS Backend.
First the method removeEventListener, that i have wrote taking addEventListener as example:
proc removeEventListener*(et: EventTarget, ev: cstring, cb: proc(ev: Event), useCapture: bool = false) {.importcpp.}
Second, the attribute readyState of the document object. It is described in this mozilla documentation, and is very useful to execute a callback when the DOM is ready.
What is the best practice to signal/submit the source code ?
Opening an issue on github or posting it on this forum ?
Second part of my question, that i put here because i think it it related : i found some libraries to access to the XmlHttpRequest (ajax) and AudioContext (nim-webaudio) but as it is part of the javascript environment, wouldn't it be more logical to integrate it in the dom lib ?
Thanks by advance for your answers !