Commit 0ff4c699 authored by jeresig's avatar jeresig

Some minor code cleanup.

parent db80ad94
...@@ -122,16 +122,16 @@ jQuery.extend({ ...@@ -122,16 +122,16 @@ jQuery.extend({
}, },
css: function( elem, name, extra ) { css: function( elem, name, extra ) {
// Make sure that we're working with the right name var ret, hooks;
var ret,
hooks;
// Make sure that we're working with the right name
name = jQuery.camelCase( name ); name = jQuery.camelCase( name );
hooks = jQuery.cssHooks[ name ]; hooks = jQuery.cssHooks[ name ];
name = jQuery.cssProps[ name ] || name; name = jQuery.cssProps[ name ] || name;
// cssFloat needs a special treatment // cssFloat needs a special treatment
if ( name === 'cssFloat' ) { if ( name === "cssFloat" ) {
name = 'float'; name = "float";
} }
// If a hook was provided get the computed value from there // If a hook was provided get the computed value from there
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment