diff options
author | Jason Bedard <jason+github@jbedard.ca> | 2017-12-12 22:43:30 -0800 |
---|---|---|
committer | Jason Bedard <jason+github@jbedard.ca> | 2018-01-15 09:26:19 -0800 |
commit | 3d732cca6b5076a9d13eee98e2b075b37384cd91 (patch) | |
tree | 7ad2375d276c212e7d252554b3f87e5b0b3bec5e /test/unit/effects.js | |
parent | 6c38ebbd47c6b0fa654733819bd5ae36c1ac6c48 (diff) | |
download | jquery-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.js | 2 |
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" ); |