]> source.dussan.org Git - jquery.git/commitdiff
Cleanup spacing. Fixes #10601
authorRick Waldron <waldron.rick@gmail.com>
Thu, 27 Oct 2011 19:07:21 +0000 (15:07 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Thu, 27 Oct 2011 19:07:21 +0000 (15:07 -0400)
src/effects.js

index 9be9293e58211f74f0b8fcdc80a6adcf3180a4cd..9ed8e51430a9be476c10d9bf657acb4df07359f8 100644 (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;
                }
        },