Skip to content
Permalink
Browse files

Tweaking the formatting from the previous commit.

  • Loading branch information...
jeresig committed Sep 5, 2010
1 parent 65b2486 commit 1970154c3b50d3cbc990b93b48d7448390bd84cf
Showing with 4 additions and 6 deletions.
  1. +4 −6 src/css.js
@@ -93,13 +93,11 @@ jQuery.extend({

var hooks = jQuery.cssHooks[name] || {};

if ( set ) {
if ( !('set' in hooks) || hooks.set( elem, value ) === false ) {
style[ name ] = value;
}
if ( set && (!("set" in hooks) || hooks.set( elem, value ) === false) ) {
style[ name ] = value;
}

if ( 'get' in hooks ) {
if ( "get" in hooks ) {
var cssHookReturn = hooks.get( elem, false );
if ( cssHookReturn !== false ) {
return cssHookReturn;
@@ -134,7 +132,7 @@ jQuery.extend({
name = styleFloat;
}

if ( 'get' in hooks && ( ret = hooks.get( elem, force ) ) !== false ) {
if ( "get" in hooks && ( ret = hooks.get( elem, force ) ) !== false ) {
return ret;
}

0 comments on commit 1970154

Please sign in to comment.
You can’t perform that action at this time.