Cleanup spacing in queue.js. Fixes #10601

This commit is contained in:
Rick Waldron 2011-10-27 15:34:05 -04:00
parent d00e29a65e
commit 79875457c0

View File

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