Hi folks. Apparently jQuery can not be used outside the browser .. or at least without a DOM:
Rhino 1.7 release 2 2009 03 22 js> load('/Users/owen/local/jquery-1.3.2.js'); js: "/Users/owen/local/jquery-1.3.2.js", line 613: uncaught JavaScript runtime exception: ReferenceError: "document" is not defined. Yes, I know that env.js fakes a DOM, but that has to be tested each new release of jQuery, and often requires an upgrade to env.js. So here's the question: is there a way to build a non-DOM jQuery from its parts? Or maybe have a release of jQuery that is in two parts: a core utility kernel with a second part that adds the DOM? (Sorry if this is noob, but searching did not turn up anything.)