node-webworker
node-webworker copied to clipboard
Does not work in Node 0.5.0-pre
As of joyent/node@75db1995b6529cb71513a45299e2ba742e7afde9 Script is renamed to NodeScript in process.bindings('eval').
You should be able to fix this for both Node 0.4.x and 0.5.0-pre by changing var script = process.binding('evals');
to var script = require('vm');
in lib/webworker-child.js.
I'd send you a pull request but I don't feel like installing 0.4.x to test on the stable branch. The modification I mentioned works on 0.5.0-pre though.