TouchSwipe-Jquery-Plugin icon indicating copy to clipboard operation
TouchSwipe-Jquery-Plugin copied to clipboard

jQuery 3 support .bind and .unbind deprecated

Open zspitzer opened this issue 8 years ago • 3 comments

jquery-migrate-3.0.0.js?r=6832:62 JQMIGRATE: jQuery.fn.unbind() is deprecated

https://jquery.com/upgrade-guide/3.0/#deprecated-bind-and-delegate

internally, jquery already just maps the functions to on() and off() https://github.com/jquery/jquery/blob/1b9575b9d14399e9426b9eacdd92b3717846c3f2/src/deprecated.js

zspitzer avatar Dec 23 '16 00:12 zspitzer

Thanks for the heads up, I'll swap over the method calls.

mattbryson avatar Dec 23 '16 08:12 mattbryson

will action this in the next release that re works the event model

mattbryson avatar Sep 17 '18 11:09 mattbryson

@mattbryson Did you ever take care of this? (Your comments are more recent than the last code update.)

ppetree avatar Dec 20 '19 15:12 ppetree