Skip to content

Commit

Permalink
Reverting a change which broke jsdom
Browse files Browse the repository at this point in the history
  • Loading branch information
chriso committed Jun 14, 2011
1 parent d6800eb commit d9059a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lib/node.io/dom.js
Expand Up @@ -63,9 +63,7 @@ Job.prototype.parseHtml = function (data, callback, response) {
if (recurse === 1 || recurse === true || recurse instanceof Array) {
this.recurseUrls($);
}
window.onload = function() {
callback.apply(self, [null, $, data, headers, response]);
}
callback.apply(self, [null, $, data, headers, response]);
} else {
var self = this;
this.postParse = function (err, dom) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{ "name" : "node.io",
"description" : "A distributed data scraping and processing framework",
"version" : "0.3.0",
"version" : "0.3.1",
"homepage" : "http://github.com/chriso/node.io",
"keywords" : ["data","mapreduce","map","reduce","scraping","html","parsing","parse","scrape","process","processing","data"],
"author" : "Chris O'Hara <cohara87@gmail.com>",
Expand Down

0 comments on commit d9059a8

Please sign in to comment.