Skip to content

Added note about the deprecation of jQuery.isFunction in version 3.3 #1077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

AurelioDeRosa
Copy link
Member

Fixes gh-1074

Copy link
Member

@mgol mgol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One remark, otherwise LGTM.

<longdesc>
<p>As of jQuery 3.3, <code>jQuery.isFunction()</code> has been deprecated. In most cases, its use can be replaced by <code>typeof obj === "function"</code>.</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd change typeof obj === "function" to typeof x === "function"; obj suggests object is an input and that's not required.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good suggestion. Updating now.

@AurelioDeRosa AurelioDeRosa deleted the is-function branch February 10, 2018 18:06
@AurelioDeRosa AurelioDeRosa restored the is-function branch May 5, 2019 19:59
@AurelioDeRosa AurelioDeRosa deleted the is-function branch May 5, 2019 20:05
@AurelioDeRosa AurelioDeRosa restored the is-function branch May 6, 2019 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants