I'd like to be able to use a number of utility methods from jQuery in a Web Worker, where there is no access to the window or document objects.
Specifically, I'd like to be able to use methods like $.extend(), $.ajax(), and the entire $.Deferred() system. I obviously would not need any of the DOM traversal and manipulation methods, so I'm not looking for a solution like JSDOM.
I can extract the non-DOM portions of jQuery myself, but this is a pain to maintain. Are there any available distributions or build scripts for jQuery that just build the non-DOM portions?