Permalink
Browse files

Merge branch 'master' of github.com:LearnBoost/tobi

  • Loading branch information...
2 parents 5ad1a0c + f9e2bf4 commit 8fa2f58de7a5801f811121e377234dadab591112 @tj tj committed Jul 19, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/browser.js
View
@@ -1,4 +1,3 @@
-
/*!
* Tobi - Browser
* Copyright(c) 2010 LearnBoost <dev@learnboost.com>
@@ -92,7 +91,7 @@ Browser.prototype.parse = function(html){
}
this.source = html;
this.window = jsdom.jsdom(wrap(html), null, options).createWindow();
- this.window.navigation = { userAgent: 'node' };
+ this.window.navigator = { userAgent: 'node' };
this.jQuery = jQuery.create(this.window);
this.jQuery.browser = this.jQuery.fn.browser = this;
require('./jquery')(this, this.jQuery);

0 comments on commit 8fa2f58

Please sign in to comment.