Skip to content

Commit e72600e

Browse files
committed
Don't even need this variable
1 parent bdda4e9 commit e72600e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugins/backbone.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ if (!Backbone) {
1313

1414
function makeBackboneEventsOn(oldOn) {
1515
return function BackboneEventsOn(name, callback, context) {
16-
var _callback = Raven.wrap(callback._callback || callback);
17-
callback._callback = _callback;
18-
16+
callback._callback = Raven.wrap(callback._callback || callback);
1917
return oldOn.call(this, name, callback, context);
2018
};
2119
}

0 commit comments

Comments
 (0)