Skip to content

Commit

Permalink
Warn that Interactable#accept is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
taye committed Sep 8, 2015
1 parent f2ba92d commit 75edaa6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions interact.js
Original file line number Diff line number Diff line change
Expand Up @@ -5285,6 +5285,8 @@
Interactable.prototype.squareResize = warnOnce(Interactable.prototype.squareResize,
'Interactable#squareResize is deprecated. See http://interactjs.io/docs/#resize-square');

Interactable.prototype.accept = warnOnce(Interactable.prototype.accept,
'Interactable#accept is deprecated. use Interactable#dropzone({ accept: target }) instead');
Interactable.prototype.dropChecker = warnOnce(Interactable.prototype.dropChecker,
'Interactable#dropChecker is deprecated. use Interactable#dropzone({ dropChecker: checkerFunction }) instead');

Expand Down

0 comments on commit 75edaa6

Please sign in to comment.