mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
Off wrapping callback, not the original
This commit is contained in:
committed by
Adam Krebs
parent
2450b70af8
commit
ac1de4deef
@@ -185,7 +185,7 @@
|
||||
return this;
|
||||
}
|
||||
var cb = _.once(function() {
|
||||
this.stopListening(obj, name, callback);
|
||||
this.stopListening(obj, name, cb);
|
||||
callback.apply(this, arguments);
|
||||
});
|
||||
cb._callback = callback;
|
||||
|
||||
Reference in New Issue
Block a user