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
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions categories.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@
<desc><![CDATA[All the aspects of the API that were deprecated in the corresponding version of jQuery.
<p>For more information, see the Release Notes/Changelog at <a href="http://blog.jquery.com/2016/06/09/jquery-3-0-final-released/">http://blog.jquery.com/2016/06/09/jquery-3-0-final-released/</a></p>
]]></desc>
</category>
<category name="Deprecated 3.3" slug="deprecated-3.3">
<desc><![CDATA[All the aspects of the API that were deprecated in the corresponding version of jQuery.
<p>For more information, see the Release Notes/Changelog at <a href="http://blog.jquery.com/2018/01/19/jquery-3-3-0-a-fragrant-bouquet-of-deprecations-and-is-that-a-new-feature/</a></p>
]]></desc>
</category>
</category>
<category name="Dimensions" slug="dimensions">
Expand Down
4 changes: 3 additions & 1 deletion entries/jQuery.isFunction.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<entry type="method" name="jQuery.isFunction" return="boolean">
<entry type="method" name="jQuery.isFunction" return="boolean" deprecated="3.3">
<title>jQuery.isFunction()</title>
<signature>
<added>1.2</added>
Expand All @@ -9,6 +9,7 @@
</signature>
<desc>Determines if its argument is callable as a function.</desc>
<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 x === "function"</code>.</p>
<p><strong>Note:</strong> As of jQuery 1.3, functions provided by the browser like <code>alert()</code> and DOM element methods like <code>getAttribute()</code> are not guaranteed to be detected as functions in browsers such as Internet Explorer.</p>
</longdesc>
<example>
Expand Down Expand Up @@ -57,4 +58,5 @@ true
</example>
<category slug="utilities"/>
<category slug="version/1.2"/>
<category slug="deprecated/deprecated-3.3"/>
</entry>