Skip to content

Commit

Permalink
Merge pull request #77 from mmoulton/master
Browse files Browse the repository at this point in the history
Cleaned up a couple of leaked variables
  • Loading branch information
chriso committed Jan 10, 2012
2 parents 54eb0c1 + 910f6cc commit 114b9a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/node.io/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Job.prototype.$ = function (selector, context, suppressErrors) {
*/
Job.prototype.parseHtml = function (data, callback, response) {
var self = this, recurse = this.options.recurse;
headers = response && response.headers ? response.headers : {};
var headers = response && response.headers ? response.headers : {};
if (this.options.jsdom) {
var features = {
FetchExternalResources: this.options.external_resources,
Expand Down
2 changes: 1 addition & 1 deletion lib/node.io/processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var fs = require('fs'),
Job = require('./job').JobProto;

//Keep track of processes
var isMaster, fork, distribute,
var isMaster, isSlave, fork, distribute,
master, workers = [], worker_count = 0;

/**
Expand Down

0 comments on commit 114b9a0

Please sign in to comment.