briancherne / jquery-hoverIntent

hoverIntent jQuery Plug-in
https://briancherne.github.io/jquery-hoverIntent/
MIT License
826 stars 253 forks source link

Replace jQuery.isFunction by a typeof test #79

Closed cdarne closed 4 years ago

cdarne commented 4 years ago

Hello,

I'd like to propose this PR to replace the usage of $.isFunction(). As of jQuery 3.3, jQuery.isFunction() has been deprecated (https://api.jquery.com/jQuery.isFunction/). This is replaced by a local function that does a simple typeof test.

Thanks!

usmonster commented 4 years ago

Thanks for the contribution! It will be in the next release (in the next few days).