Skip to content

Replace jQuery.isFunction by a typeof test#79

Merged
usmonster merged 1 commit intobriancherne:masterfrom
cdarne:deprecated-jquery-isfunction
Apr 22, 2020
Merged

Replace jQuery.isFunction by a typeof test#79
usmonster merged 1 commit intobriancherne:masterfrom
cdarne:deprecated-jquery-isfunction

Conversation

@cdarne
Copy link
Contributor

@cdarne cdarne commented Apr 20, 2020

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!

As of jQuery 3.3, jQuery.isFunction() has been deprecated.
This replaces that function by a typeof test.
@usmonster usmonster self-assigned this Apr 20, 2020
@usmonster
Copy link
Collaborator

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

@usmonster usmonster merged commit 60f430c into briancherne:master Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants