From: Scott González Date: Fri, 20 Apr 2012 17:58:33 +0000 (-0400) Subject: Easings: Save a byte. X-Git-Tag: 1.9.0m8~111 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2357d6d8da9a3640852ae4fe3448ca68d85540b8;p=jquery-ui.git Easings: Save a byte. --- 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; }; });