aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.effects.shake.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-02 19:12:21 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-02 19:12:21 -0400
commit639afa595465f6a1f61e080f2b671af4aac69b4a (patch)
treecab8f18e790d7646677ca0207d21025c9c708428 /ui/jquery.effects.shake.js
parent3e6877a892b8fb70f1130f639dfde09ce5af6236 (diff)
downloadjquery-ui-639afa595465f6a1f61e080f2b671af4aac69b4a.tar.gz
jquery-ui-639afa595465f6a1f61e080f2b671af4aac69b4a.zip
Lint fixes.
Diffstat (limited to 'ui/jquery.effects.shake.js')
-rw-r--r--ui/jquery.effects.shake.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/jquery.effects.shake.js b/ui/jquery.effects.shake.js
index c6276d15e..700c6df3d 100644
--- a/ui/jquery.effects.shake.js
+++ b/ui/jquery.effects.shake.js
@@ -22,8 +22,8 @@ $.effects.effect.shake = function( o, done ) {
times = o.times || 3,
anims = times * 2 + 1,
speed = o.duration,
- ref = (direction == "up" || direction == "down") ? "top" : "left",
- positiveMotion = (direction == "up" || direction == "left"),
+ ref = (direction === "up" || direction === "down") ? "top" : "left",
+ positiveMotion = (direction === "up" || direction === "left"),
animation = {},
animation1 = {},
animation2 = {},
@@ -32,7 +32,6 @@ $.effects.effect.shake = function( o, done ) {
// we will need to re-assemble the queue to stack our animations in place
queue = el.queue(),
queuelen = queue.length;
-
$.effects.save( el, props );
el.show();