aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-20 13:58:33 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-20 13:58:33 -0400
commit2357d6d8da9a3640852ae4fe3448ca68d85540b8 (patch)
treeccb4863809b811e7577a72313141650a82b5110f
parentc090fe9486700e1c10defba35f272e78459ad566 (diff)
downloadjquery-ui-2357d6d8da9a3640852ae4fe3448ca68d85540b8.tar.gz
jquery-ui-2357d6d8da9a3640852ae4fe3448ca68d85540b8.zip
Easings: Save a byte.
-rw-r--r--ui/jquery.effects.core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js
index 626ab1a89..bac060067 100644
--- a/ui/jquery.effects.core.js
+++ b/ui/jquery.effects.core.js
@@ -722,7 +722,7 @@ $.each( baseEasings, function( name, easeIn ) {
$.easing[ "easeInOut" + name ] = function( p ) {
return p < 0.5 ?
easeIn( p * 2 ) / 2 :
- easeIn( p * -2 + 2 ) / -2 + 1;
+ 1 - easeIn( p * -2 + 2 ) / 2;
};
});