Skip to content

Commit

Permalink
Remove duplicated context
Browse files Browse the repository at this point in the history
We’re binding, no need to add a context to it.
  • Loading branch information
jridgewell authored and akre54 committed Nov 3, 2014
1 parent 3461128 commit 55bdc3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backbone.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
onces[name] = callback;
}
for (var event in onces) {
obj.once(event, _.bind(this.stopListening, this, obj, event, onces[event]), this);
obj.once(event, _.bind(this.stopListening, this, obj, event, onces[event]));
}
return this;
};
Expand Down

0 comments on commit 55bdc3f

Please sign in to comment.