Closed ip closed 7 years ago
Thanks! Can we get a unit test that reproduces?
All right, I'll make it later
Sorry, unit test is postponed, have no time at the moment. Any help is appreciated.
By the way, your unit test config is interesting. I want to use parts of it for our project, ones that mock WebGL and allow headless run.
Just have a look at this snippet: https://jsbin.com/widupebula/edit?js,console
Yeah, it just stubs out any WebGL renderer so you can assert JS stuff.
Previous code didn't work correctly when event listener is a closure and it is replaced by a similar clojure with different enclosed variables.
May be related to the issue #89.