Permalink
Browse files

Update jQuery to 1.6.2. Closes #43

  • Loading branch information...
1 parent 3ed5d49 commit 05c14b511a6d2f2efdfc7c790c508de55db5ccd7 @mhemesath mhemesath committed with tj Jul 7, 2011
Showing with 4,901 additions and 2,163 deletions.
  1. +1 −0 lib/browser.js
  2. +4,883 −2,146 lib/jquery/core.js
  3. +17 −17 test/browser.navigation.test.js
View
@@ -92,6 +92,7 @@ Browser.prototype.parse = function(html){
}
this.source = html;
this.window = jsdom.jsdom(wrap(html), null, options).createWindow();
+ this.window.navigation = { userAgent: 'node' };
this.jQuery = jQuery.create(this.window);
this.jQuery.browser = this.jQuery.fn.browser = this;
require('./jquery')(this, this.jQuery);
Oops, something went wrong.

0 comments on commit 05c14b5

Please sign in to comment.