Cleanup spacing. Fixes #10601

This commit is contained in:
Rick Waldron 2011-10-27 15:07:21 -04:00
parent c82dbf1928
commit 9ff4f26cf9

2
src/effects.js vendored
View File

@ -385,7 +385,7 @@ jQuery.extend({
return firstNum + diff * p;
},
swing: function( p, n, firstNum, diff ) {
return ((-Math.cos(p*Math.PI)/2) + 0.5) * diff + firstNum;
return ( ( -Math.cos( p*Math.PI ) / 2 ) + 0.5 ) * diff + firstNum;
}
},