diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/effects.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/effects.js b/src/effects.js index 346438174..7d0c2a8ab 100644 --- a/src/effects.js +++ b/src/effects.js @@ -400,11 +400,11 @@ jQuery.extend({ }, easing: { - linear: function( p, n, firstNum, diff ) { - return firstNum + diff * p; + linear: function( p ) { + return p; }, - swing: function( p, n, firstNum, diff ) { - return ( ( -Math.cos( p*Math.PI ) / 2 ) + 0.5 ) * diff + firstNum; + swing: function( p ) { + return ( -Math.cos( p*Math.PI ) / 2 ) + 0.5; } }, |