Skip to content

Commit

Permalink
Cleaning up leaked global variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoulton committed Jan 9, 2012
1 parent 25a3337 commit 910f6cc
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 910f6cc

Please sign in to comment.