Make sure that when multiple variables are being declared that assignments are each done on their own line.
This commit is contained in:
parent
b5b3c73db3
commit
fb48ae8e6c
12 changed files with 98 additions and 45 deletions
|
@ -49,7 +49,9 @@ jQuery.each([ "Height", "Width" ], function( i, name ) {
|
|||
|
||||
// Get or set width or height on the element
|
||||
} else if ( size === undefined ) {
|
||||
var orig = jQuery.css( elem, type ), ret = parseFloat( orig );
|
||||
var orig = jQuery.css( elem, type ),
|
||||
ret = parseFloat( orig );
|
||||
|
||||
return jQuery.isNaN( ret ) ? orig : ret;
|
||||
|
||||
// Set the width or height on the element (default to pixels if value is unitless)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue