From fd29dbb2a0657498879876e89d9c46992f81b94d Mon Sep 17 00:00:00 2001 From: Aurelio De Rosa Date: Tue, 30 Jan 2018 02:22:56 +0000 Subject: [PATCH] Added note about the deprecation of jQuery.isFunction in version 3.3 Fixes gh-1074 --- categories.xml | 5 +++++ entries/jQuery.isFunction.xml | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/categories.xml b/categories.xml index 2ccd959e..4af831f8 100644 --- a/categories.xml +++ b/categories.xml @@ -70,6 +70,11 @@ For more information, see the Release Notes/Changelog at http://blog.jquery.com/2016/06/09/jquery-3-0-final-released/

]]>
+ + + For more information, see the Release Notes/Changelog at diff --git a/entries/jQuery.isFunction.xml b/entries/jQuery.isFunction.xml index 349061ef..7aed5574 100644 --- a/entries/jQuery.isFunction.xml +++ b/entries/jQuery.isFunction.xml @@ -1,5 +1,5 @@ - + jQuery.isFunction() 1.2 @@ -9,6 +9,7 @@ Determines if its argument is callable as a function. +

As of jQuery 3.3, jQuery.isFunction() has been deprecated. In most cases, its use can be replaced by typeof x === "function".

Note: As of jQuery 1.3, functions provided by the browser like alert() and DOM element methods like getAttribute() are not guaranteed to be detected as functions in browsers such as Internet Explorer.

@@ -57,4 +58,5 @@ true +