From 3d732cca6b5076a9d13eee98e2b075b37384cd91 Mon Sep 17 00:00:00 2001 From: Jason Bedard Date: Tue, 12 Dec 2017 22:43:30 -0800 Subject: Core: deprecate jQuery.isFunction Fixes gh-3609 --- test/unit/effects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit/effects.js') 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" ); -- cgit v1.2.3