Is it possible to add JQuery to synchronous threads? It would be useful to be able to access methods like $.post() or $.get() and $(data).attr();
I found this version of JQuery without DOM functions intended for web workers. Unfortunately it doesn't have the .attr() method but it does have $.post() and $.get(). https://github.com/kpozin/jquery-nodom
I don't know how to modify multithread.js to add a reference to this library and I haven't tried using Web Workers before but if it would be possible to create a fork that includes JQuery it would make multithread.js easier to use.
Is it possible to add JQuery to synchronous threads? It would be useful to be able to access methods like$.post() or $ .get() and $(data).attr();
I found this version of JQuery without DOM functions intended for web workers. Unfortunately it doesn't have the .attr() method but it does have$.post() and $ .get(). https://github.com/kpozin/jquery-nodom
I don't know how to modify multithread.js to add a reference to this library and I haven't tried using Web Workers before but if it would be possible to create a fork that includes JQuery it would make multithread.js easier to use.