Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from stroncium/master

Fixed scoping for shouldCall
  • Loading branch information...
commit 32ecf94c27a4a35f2ac21b2e6824509bed4f1bf7 2 parents de98a3f + db1c640
Tim Macfarlane authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cupoftea.js
2  cupoftea.js
View
@@ -166,7 +166,7 @@ var Callbacks = function (runStack) {
currentRunStack = runStack;
outstandingCallbacks.remove(callbackId);
try {
- var result = f.apply(null, arguments);
+ var result = f.apply(this, arguments);
} catch (e) {
results(e);
expectedExceptions.push(e);
Please sign in to comment.
Something went wrong with that request. Please try again.