diff options
Diffstat (limited to 'src/core/access.js')
-rw-r--r-- | src/core/access.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/access.js b/src/core/access.js index 842c4a42b..f600600d5 100644 --- a/src/core/access.js +++ b/src/core/access.js @@ -1,8 +1,7 @@ define( [ "../core", - "../core/toType", - "../var/isFunction" -], function( jQuery, toType, isFunction ) { + "../core/toType" +], function( jQuery, toType ) { "use strict"; @@ -24,7 +23,7 @@ var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { } else if ( value !== undefined ) { chainable = true; - if ( !isFunction( value ) ) { + if ( typeof value !== "function" ) { raw = true; } |