Permalink
Browse files

Bind all doneCallback functions to emitter

  • Loading branch information...
1 parent bdc6fbb commit f1eba402c3e388130f267bda1328a4406fd9205b Loren Segal committed Mar 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/event_emitter.js
View
@@ -113,7 +113,7 @@ AWS.EventEmitter = AWS.util.inherit({
} else {
this.callListeners(listeners, args, doneCallback);
}
- };
+ }.bind(this);
listener.apply(this, args.concat([callNextListener]));
} else {

0 comments on commit f1eba40

Please sign in to comment.