Closed konsumer closed 9 months ago
This makes it so multiple instances can work in a single page, by using Module.canvas instead of canvas.
Module.canvas
canvas
Related:
Additionally, if I am not using the plain ES5 emscritpen stuff, I have to do this before initializing to register it as a global:
window.canvas = canvas
This PR makes this unneeded (and prevents an async race-condition)
This makes it so multiple instances can work in a single page, by using
Module.canvas
instead ofcanvas
.Related:
Additionally, if I am not using the plain ES5 emscritpen stuff, I have to do this before initializing to register it as a global:
This PR makes this unneeded (and prevents an async race-condition)