Effects: set default easing using jQuery.easing._default

Fixes gh-2219
Close gh-2218
This commit is contained in:
Timmy Willison
2015-05-05 10:24:20 -07:00
parent 436f0aee0a
commit 5f2ea40258
3 changed files with 42 additions and 18 deletions

5
src/effects.js vendored
View File

@@ -289,7 +289,10 @@ function Animation( elem, properties, options ) {
animation = deferred.promise({
elem: elem,
props: jQuery.extend( {}, properties ),
opts: jQuery.extend( true, { specialEasing: {} }, options ),
opts: jQuery.extend( true, {
specialEasing: {},
easing: jQuery.easing._default
}, options ),
originalProperties: properties,
originalOptions: options,
startTime: fxNow || createFxNow(),