Skip to content

Commit

Permalink
global leakage in request.defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Sep 16, 2011
1 parent 2b81e29 commit c1d255e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ request.defaults = function (options) {
}
return d
}
de = def(request)
var de = def(request)
de.get = def(request.get)
de.post = def(request.post)
de.put = def(request.put)
Expand Down

0 comments on commit c1d255e

Please sign in to comment.