]> source.dussan.org Git - jquery.git/commitdiff
Cleanup spacing in effects.js. Fixes #10601
authorRick Waldron <waldron.rick@gmail.com>
Thu, 27 Oct 2011 19:30:12 +0000 (15:30 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Thu, 27 Oct 2011 19:30:12 +0000 (15:30 -0400)
src/effects.js

index 9ed8e51430a9be476c10d9bf657acb4df07359f8..458b1eae741aafc81b7432ce510fbb4ca014edfe 100644 (file)
@@ -203,7 +203,7 @@ jQuery.fn.extend({
 
                                        // Tracks whether to show or hide based on private
                                        // data attached to the element
-                                       method = jQuery._data( this, "toggle" + p ) || (val === "toggle" ? hidden ? "show" : "hide" : 0);
+                                       method = jQuery._data( this, "toggle" + p ) || ( val === "toggle" ? hidden ? "show" : "hide" : 0 );
                                        if ( method ) {
                                                jQuery._data( this, "toggle" + p, method === "show" ? "hide" : "show" );
                                                e[ method ]();
@@ -222,7 +222,7 @@ jQuery.fn.extend({
                                                // We need to compute starting value
                                                if ( unit !== "px" ) {
                                                        jQuery.style( this, p, (end || 1) + unit);
-                                                       start = ((end || 1) / e.cur()) * start;
+                                                       start = ( (end || 1) / e.cur() ) * start;
                                                        jQuery.style( this, p, start + unit);
                                                }
 
@@ -408,7 +408,7 @@ jQuery.fx.prototype = {
                        this.options.step.call( this.elem, this.now, this );
                }
 
-               (jQuery.fx.step[ this.prop ] || jQuery.fx.step._default)( this );
+               ( jQuery.fx.step[ this.prop ] || jQuery.fx.step._default )( this );
        },
 
        // Get the current size