aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/effects.js
diff options
context:
space:
mode:
authorJason Bedard <jason+github@jbedard.ca>2017-12-12 22:43:30 -0800
committerJason Bedard <jason+github@jbedard.ca>2018-01-15 09:26:19 -0800
commit3d732cca6b5076a9d13eee98e2b075b37384cd91 (patch)
tree7ad2375d276c212e7d252554b3f87e5b0b3bec5e /test/unit/effects.js
parent6c38ebbd47c6b0fa654733819bd5ae36c1ac6c48 (diff)
downloadjquery-3d732cca6b5076a9d13eee98e2b075b37384cd91.tar.gz
jquery-3d732cca6b5076a9d13eee98e2b075b37384cd91.zip
Core: deprecate jQuery.isFunction
Fixes gh-3609
Diffstat (limited to 'test/unit/effects.js')
-rw-r--r--test/unit/effects.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js
index d023dc8c1..462524ef3 100644
--- a/test/unit/effects.js
+++ b/test/unit/effects.js
@@ -2507,7 +2507,7 @@ function testEasing( assert, speed, easing, complete ) {
assert.equal( options.duration, 10, "Duration set properly" );
assert.equal(
- jQuery.isFunction( options.easing ) ? options.easing() : options.easing,
+ typeof options.easing === "function" ? options.easing() : options.easing,
"linear",
"Easing set properly"
);