aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/access.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/access.js')
-rw-r--r--src/core/access.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/access.js b/src/core/access.js
index 86cdbc7e6..2e1eb4121 100644
--- a/src/core/access.js
+++ b/src/core/access.js
@@ -1,6 +1,7 @@
define( [
- "../core"
-], function( jQuery ) {
+ "../core",
+ "../var/isFunction"
+], function( jQuery, isFunction ) {
"use strict";
@@ -22,7 +23,7 @@ var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
} else if ( value !== undefined ) {
chainable = true;
- if ( !jQuery.isFunction( value ) ) {
+ if ( !isFunction( value ) ) {
raw = true;
}