aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.effect-shake.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2013-10-16 20:43:09 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2013-11-13 19:20:16 +0100
commit0e192979d0401c8cfe889b116fffc43cc85bb9fa (patch)
tree150f9ecb76b8c21abf69d1f5bbdf073e27639f3b /ui/jquery.ui.effect-shake.js
parent89ae7641b0cb7054d0a7ea8617ae27c31e1749b0 (diff)
downloadjquery-ui-0e192979d0401c8cfe889b116fffc43cc85bb9fa.tar.gz
jquery-ui-0e192979d0401c8cfe889b116fffc43cc85bb9fa.zip
Fix various coding style issues
Diffstat (limited to 'ui/jquery.ui.effect-shake.js')
-rw-r--r--ui/jquery.ui.effect-shake.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.effect-shake.js b/ui/jquery.ui.effect-shake.js
index 6ced33316..1e7e827e7 100644
--- a/ui/jquery.ui.effect-shake.js
+++ b/ui/jquery.ui.effect-shake.js
@@ -22,7 +22,7 @@ $.effects.effect.shake = function( o, done ) {
distance = o.distance || 20,
times = o.times || 3,
anims = times * 2 + 1,
- speed = Math.round(o.duration/anims),
+ speed = Math.round( o.duration / anims ),
ref = (direction === "up" || direction === "down") ? "top" : "left",
positiveMotion = (direction === "up" || direction === "left"),
animation = {},