aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2011-10-27 15:07:21 -0400
committerRick Waldron <waldron.rick@gmail.com>2011-10-27 15:07:21 -0400
commit9ff4f26cf9165378347455f92ffaec3c3d6d460b (patch)
tree2c2a2fd867358ee58b1e5c8971c994fbbb2b52ed
parentc82dbf1928f54385e83df9ec6de47616f83fe682 (diff)
downloadjquery-9ff4f26cf9165378347455f92ffaec3c3d6d460b.tar.gz
jquery-9ff4f26cf9165378347455f92ffaec3c3d6d460b.zip
Cleanup spacing. Fixes #10601
-rw-r--r--src/effects.js2
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;
}
},