diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-04-18 21:57:51 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-04-18 21:57:51 -0400 |
commit | cb8474af1dc099de9e08665c9d6cdc2cf5864203 (patch) | |
tree | 565840fa6d66586d864cea9f52d58802781e130d /ui/jquery.effects.bounce.js | |
parent | 55e13692ee2937df9bda8e3348c4b07834e093d8 (diff) | |
download | jquery-ui-cb8474af1dc099de9e08665c9d6cdc2cf5864203.tar.gz jquery-ui-cb8474af1dc099de9e08665c9d6cdc2cf5864203.zip |
Remove trailing whitespace.
Diffstat (limited to 'ui/jquery.effects.bounce.js')
-rw-r--r-- | ui/jquery.effects.bounce.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ui/jquery.effects.bounce.js b/ui/jquery.effects.bounce.js index 94d73644e..934fb16ef 100644 --- a/ui/jquery.effects.bounce.js +++ b/ui/jquery.effects.bounce.js @@ -13,14 +13,14 @@ (function( $, undefined ) { $.effects.effect.bounce = function( o, done ) { - var el = $( this ), + var el = $( this ), props = [ "position", "top", "bottom", "left", "right", "height", "width" ], // defaults: mode = $.effects.setMode( el, o.mode || "effect" ), hide = mode === "hide", show = mode === "show", - direction = o.direction || "up", + direction = o.direction || "up", distance = o.distance, times = o.times || 5, @@ -31,7 +31,7 @@ $.effects.effect.bounce = function( o, done ) { // utility: ref = ( direction === "up" || direction === "down" ) ? "top" : "left", - motion = ( direction === "up" || direction === "left" ), + motion = ( direction === "up" || direction === "left" ), i, upAnim, downAnim, @@ -40,13 +40,13 @@ $.effects.effect.bounce = function( o, done ) { queue = el.queue(), queuelen = queue.length; - // Avoid touching opacity to prevent clearType and PNG issues in IE + // Avoid touching opacity to prevent clearType and PNG issues in IE if ( show || hide ) { props.push( "opacity" ); - } + } - $.effects.save( el, props ); - el.show(); + $.effects.save( el, props ); + el.show(); $.effects.createWrapper( el ); // Create Wrapper // default distance for the BIGGEST bounce is the outer Distance / 3 @@ -90,7 +90,7 @@ $.effects.effect.bounce = function( o, done ) { el.animate( upAnim, speed, easing ); } - + el.queue(function() { if ( hide ) { el.hide(); |