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

index b2ee8de08318be4345bf3e2b493a18470329ad0c..67689ef42b7eb622ab4696ebfb5a66e52ce33a78 100644 (file)
@@ -24,7 +24,7 @@ jQuery.extend({
 
        _mark: function( elem, type ) {
                if ( elem ) {
-                       type = (type || "fx") + "mark";
+                       type = ( type || "fx" ) + "mark";
                        jQuery._data( elem, type, (jQuery._data( elem, type ) || 0) + 1 );
                }
        },
@@ -51,7 +51,7 @@ jQuery.extend({
        queue: function( elem, type, data ) {
                var q;
                if ( elem ) {
-                       type = (type || "fx") + "queue";
+                       type = ( type || "fx" ) + "queue";
                        q = jQuery._data( elem, type );
 
                        // Speed up dequeue by getting out quickly if this is just a lookup