Hi guys, am having a problem with web worker. it tells me this error : Uncaught ReferenceError: importScripts is not defined
i wrote it like this : importScripts('test.js');
i dont knw why it dont acept it. can someone help?
Hi guys, am having a problem with web worker. it tells me this error : Uncaught ReferenceError: importScripts is not defined
i wrote it like this : importScripts('test.js');
i dont knw why it dont acept it. can someone help?
Uncaught ReferenceError: importScripts is not defined
It means you didn't connected the js file correctly.
I assume you are using HTML5?
Read this:
http://www.html5rocks.com/en/tutorials/workers/basics/#toc-gettingstarted
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.