Closed jvilk closed 11 years ago
The doppio library is separate from the frontend now, so we could potentially do this now. Here's what would be required:
I just noticed that this isn't the main WebWorker issue. This is no longer an issue, since RequireJS works in a WebWorker.
WebWorkers use a function called
importScripts
to import other JavaScript files into itself. This works fine for our development release -- import some needed files, definerequire
in terms ofimportScripts
, etc. But our compressed release builds are different. We'll have to remove calls toimportScripts
in the release build, and we'll have to change the Makefile to make both a compressed version of the frontend logic and the backend logic.We'll have to address this before we can ship a WebWorker release build.