Skip to content
This repository
Browse code

Merge pull request #51 from mhemesath/patch-1

Changed incorrect window.navigation to window.navigator.
  • Loading branch information...
commit f9e2bf471a65c1de5f4dd66976aeea24f754e514 2 parents 05c14b5 + b413d89
TJ Holowaychuk visionmedia authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  lib/browser.js
3  lib/browser.js
... ... @@ -1,4 +1,3 @@
1   -
2 1 /*!
3 2 * Tobi - Browser
4 3 * Copyright(c) 2010 LearnBoost <dev@learnboost.com>
@@ -92,7 +91,7 @@ Browser.prototype.parse = function(html){
92 91 }
93 92 this.source = html;
94 93 this.window = jsdom.jsdom(wrap(html), null, options).createWindow();
95   - this.window.navigation = { userAgent: 'node' };
  94 + this.window.navigator = { userAgent: 'node' };
96 95 this.jQuery = jQuery.create(this.window);
97 96 this.jQuery.browser = this.jQuery.fn.browser = this;
98 97 require('./jquery')(this, this.jQuery);

0 comments on commit f9e2bf4

Please sign in to comment.
Something went wrong with that request. Please try again.