I would like to use a number of useful methods from jQuery to Web Worker where there is no access to windowor objects document.
In particular, I would like to be able to use methods such as $.extend(), $.ajax()and the entire system $.Deferred(). I obviously would not need any DOM traversal and manipulation methods, so I am not looking for a solution like JSDOM.
I can extract non-DOM parts from jQuery myself, but this is a pain to maintain. Are there any jQuery distributions or build scripts available that just create parts other than the DOM?
source
share