Commit 1970154c authored by John Resig's avatar John Resig

Tweaking the formatting from the previous commit.

parent 65b24861
...@@ -93,13 +93,11 @@ jQuery.extend({ ...@@ -93,13 +93,11 @@ jQuery.extend({
var hooks = jQuery.cssHooks[name] || {}; var hooks = jQuery.cssHooks[name] || {};
if ( set ) { if ( set && (!("set" in hooks) || hooks.set( elem, value ) === false) ) {
if ( !('set' in hooks) || hooks.set( elem, value ) === false ) {
style[ name ] = value; style[ name ] = value;
} }
}
if ( 'get' in hooks ) { if ( "get" in hooks ) {
var cssHookReturn = hooks.get( elem, false ); var cssHookReturn = hooks.get( elem, false );
if ( cssHookReturn !== false ) { if ( cssHookReturn !== false ) {
return cssHookReturn; return cssHookReturn;
...@@ -134,7 +132,7 @@ jQuery.extend({ ...@@ -134,7 +132,7 @@ jQuery.extend({
name = styleFloat; name = styleFloat;
} }
if ( 'get' in hooks && ( ret = hooks.get( elem, force ) ) !== false ) { if ( "get" in hooks && ( ret = hooks.get( elem, force ) ) !== false ) {
return ret; return ret;
} }
......
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