I'm experimenting with creating a web worker from my javascript file compiled with emscripten in another Javascript file.
It works until I try to use *Module.cwrap* in *onmessage* that I added to my emscripten Javascript file. I'm getting this error with no line number. I get this same error in Safari and Chrome. Uncaught ReferenceError: window is not defined -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
