Why do I keep getting this error?
I should be able to use this global function right?
http://www.html5rocks.com/en/tutorials/workers/basics/
I'm using chrome.
I'm using https://code.google.com/p/bitjs/ and it begins with
importScripts('io.js'); importScripts('archive.js');
This code needs to be inside a worker script. The worker itself is created via a new Worker object - see Getting Started in the tutorial.
Worker
The code you've linked is inside the worker created here.
1.4m articles
1.4m replys
5 comments
57.0k users