Skip to content

Commit

Permalink
remove reference to node global object
Browse files Browse the repository at this point in the history
  • Loading branch information
Caolan McMahon committed Nov 20, 2010
1 parent f318527 commit 6c1ffbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var assertWrapper = function (callback) {
var message = arguments[arity-1];
var a = exports.assertion({method: new_method, message: message});
try {
assert[assert_method].apply(global, arguments);
assert[assert_method].apply(null, arguments);
}
catch (e) {
a.error = e;
Expand Down

0 comments on commit 6c1ffbf

Please sign in to comment.