This resolves the same exact issue as was addressed with HTMLElement in #173. The execution of "lib/ext/browser/jquery.js" assumes the presence of jQuery which won't be available in DOM-less environments like Appcelerator's Titanium. Checking for the existence of jQuery before attempting to update its prototype allows Titanium to make full use of should.js.
This resolves the same exact issue as was addressed with
HTMLElement
in #173. The execution of "lib/ext/browser/jquery.js" assumes the presence ofjQuery
which won't be available in DOM-less environments like Appcelerator's Titanium. Checking for the existence ofjQuery
before attempting to update its prototype allows Titanium to make full use of should.js.