Skip to content

Commit

Permalink
Remove behavior difference between old and new API
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Feb 11, 2015
1 parent 757b93c commit db97efb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/mixins/DragDropMixin.js
Expand Up @@ -60,11 +60,7 @@ function callDragDropLifecycle(func, component, ...rest) {
return func.apply(component, rest);
}

return func.call(
null,
component.isMounted() ? component : null,
...rest
);
return func.call(null, component, ...rest);
}

var UNLIKELY_CHAR = String.fromCharCode(0xD83D, 0xDCA9),
Expand Down

0 comments on commit db97efb

Please sign in to comment.