samedi 28 novembre 2015

Stand-alone angular module with web worker

I am looking to build a standalone angular js module that makes use of web workers for some heavier processing. This module will be used by another angular web application that I'm building and potentially others.

I want this module to be installable through bower with the web worker scripts packaged in. The problem is that the web worker scripts need to be external files (unless you use the Blob/Url technique, but my understanding is that it's not supported by IE). I don't want the client application using this module to have to put the worker scripts in a public directory or anything like that. I want them to include my module and have everything just work.




Aucun commentaire:

Enregistrer un commentaire