Re: closure procs with the javascript backend
That's a bug in `dom.nim`, fix is in the works.
Re: closure procs with the javascript backend
Did you try adding closure annotation the suspect procs yourself? If it works, you could create a pull request.
closure procs with the javascript backend
Hi, I would like to use Nim for javascript related work, and I wonder how I can use event handlers in Nim when the proc I want to register is a closure. Often, the event needs to access external data and gets the `{.closure.}` annotation, and I get the following error from the compiler: