aboutsummaryrefslogtreecommitdiffstats
path: root/src/deprecated.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/deprecated.js')
-rw-r--r--src/deprecated.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/deprecated.js b/src/deprecated.js
index ecdf9f450..10d708ce2 100644
--- a/src/deprecated.js
+++ b/src/deprecated.js
@@ -3,12 +3,11 @@ define( [
"./core/nodeName",
"./core/toType",
"./css/cssCamelCase",
- "./var/isFunction",
"./var/isWindow",
"./var/slice",
"./event/alias"
-], function( jQuery, nodeName, toType, cssCamelCase, isFunction, isWindow, slice ) {
+], function( jQuery, nodeName, toType, cssCamelCase, isWindow, slice ) {
"use strict";
@@ -48,7 +47,7 @@ jQuery.proxy = function( fn, context ) {
// Quick check to determine if target is callable, in the spec
// this throws a TypeError, but we will just return undefined.
- if ( !isFunction( fn ) ) {
+ if ( typeof fn !== "function" ) {
return undefined;
}