diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2011-10-27 15:07:21 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2011-10-27 15:07:21 -0400 |
commit | 9ff4f26cf9165378347455f92ffaec3c3d6d460b (patch) | |
tree | 2c2a2fd867358ee58b1e5c8971c994fbbb2b52ed | |
parent | c82dbf1928f54385e83df9ec6de47616f83fe682 (diff) | |
download | jquery-9ff4f26cf9165378347455f92ffaec3c3d6d460b.tar.gz jquery-9ff4f26cf9165378347455f92ffaec3c3d6d460b.zip |
Cleanup spacing. Fixes #10601
-rw-r--r-- | src/effects.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects.js b/src/effects.js index 9be9293e5..9ed8e5143 100644 --- a/src/effects.js +++ b/src/effects.js @@ -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; } }, |