Skip to content

Commit

Permalink
Move call-saving line out of uncurryThis.
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Aug 5, 2013
1 parent 97c9170 commit 77ad901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion q.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ var nextTick =(function () {
// hard-to-minify characters.
// See Mark Miller’s explanation of what this does.
// http://wiki.ecmascript.org/doku.php?id=conventions:safe_meta_programming
var call = Function.call;
function uncurryThis(f) {
var call = Function.call;
return function () {
return call.apply(f, arguments);
};
Expand Down

0 comments on commit 77ad901

Please sign in to comment.