jrburke/require-cs — Issue #10: Environment unsupported in WebWorkers
Author: mountain
Created: 2011-11-28 11:29:24+00:00
State: open

I want to use cs plugin in webworkers, and I just got a "Environment unsupported" error.
Require.js itself support webworkers, but is it possible to use cs in webworkers via require.js?

How to reproduce:

The code you can try is at here:
https://github.com/Wahlque/tutorials/tree/master/coffeescript/004-webworkers
But you should load all the env from
https://github.com/Wahlque/playground

Hence you can clone the playground repository, and serve it in localhost and then hit the link:
http://localhost/tutorials/coffeescript/004-webworkers/