Permalink
Browse files

Merge pull request #1 from stroncium/master

Fixed scoping for shouldCall
  • Loading branch information...
2 parents de98a3f + db1c640 commit 32ecf94c27a4a35f2ac21b2e6824509bed4f1bf7 @refractalize committed Apr 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 32ecf94

Please sign in to comment.