catiline
catiline copied to clipboard
JavaScript library to take the pain out of web workers.
Would it be possible to publish a new release with the comma fix?
Code snippet: `var worker = cw(function(a,callback){ callback(a[0]+a[1]); }); worker.data([2,5]).then(function(a){ console.log("One worker: " + a + " -- " + new Date()); })//prints 7 worker.close();//close it up` and no errors are...
I couldn't find any mention of it, so I assume this is not supported yet. Would be cool if transferable objects are supported for more high-performance needs.
Hey Calvin, Thanks for creating this library. It's been super handy :) Recently I've encountered some weird problem with `importScripts` when I try to do this: ``` var momentUrl =...
any reason why you use gh-pages as your default branch? I would use master and write a quick script that published to gh-pages. Such as: https://github.com/pinf/pinf-loader-js/blob/master/Makefile#L29-L32
I have a couple of other fixes so I thought I might submit this fix.
Having `addEventListener` dangle as a global is not ideal. Please use `window.addEventListener` to provide more context to static analysis tooling.
it's about time
breaking the non-script import part of #66 into it's own issue, basically this ``` coffeescript testWorker = cw (input, callback) -> console.log 'i am the worker ',input callback input+5 testWorker.data(2).then...