@@ -49,7 +49,8 @@ $.effects = {
4949 */
5050( function ( jQuery , undefined ) {
5151
52- var stepHooks = "backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor" ,
52+ var stepHooks = "backgroundColor borderBottomColor borderLeftColor borderRightColor " +
53+ "borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor" ,
5354
5455 // Plusequals test for += 100 -= 100
5556 rplusequals = / ^ ( [ \- + ] ) = \s * ( \d + \. ? \d * ) / ,
@@ -316,7 +317,8 @@ color.fn = jQuery.extend( color.prototype, {
316317 } ) ;
317318
318319 // Everything defined but alpha?
319- if ( inst [ cache ] && jQuery . inArray ( null , inst [ cache ] . slice ( 0 , 3 ) ) < 0 ) {
320+ if ( inst [ cache ] &&
321+ jQuery . inArray ( null , inst [ cache ] . slice ( 0 , 3 ) ) < 0 ) {
320322
321323 // Use the default of 1
322324 inst [ cache ] [ 3 ] = 1 ;
@@ -624,7 +626,8 @@ color.hook = function( hook ) {
624626 var parsed , curElem ,
625627 backgroundColor = "" ;
626628
627- if ( value !== "transparent" && ( jQuery . type ( value ) !== "string" || ( parsed = stringParse ( value ) ) ) ) {
629+ if ( value !== "transparent" && ( jQuery . type ( value ) !== "string" ||
630+ ( parsed = stringParse ( value ) ) ) ) {
628631 value = color ( parsed || value ) ;
629632 if ( ! support . rgba && value . _rgba [ 3 ] !== 1 ) {
630633 curElem = hook === "backgroundColor" ? elem . parentNode : elem ;
@@ -650,7 +653,8 @@ color.hook = function( hook ) {
650653 elem . style [ hook ] = value ;
651654 } catch ( e ) {
652655
653- // Wrapped to prevent IE from throwing errors on "invalid" values like 'auto' or 'inherit'
656+ // Wrapped to prevent IE from throwing errors on "invalid" values like
657+ // 'auto' or 'inherit'
654658 }
655659 }
656660 } ;
@@ -728,14 +732,17 @@ var classAnimationActions = [ "add", "remove", "toggle" ],
728732 padding : 1
729733 } ;
730734
731- $ . each ( [ "borderLeftStyle" , "borderRightStyle" , "borderBottomStyle" , "borderTopStyle" ] , function ( _ , prop ) {
732- $ . fx . step [ prop ] = function ( fx ) {
733- if ( fx . end !== "none" && ! fx . setAttr || fx . pos === 1 && ! fx . setAttr ) {
734- jQuery . style ( fx . elem , prop , fx . end ) ;
735- fx . setAttr = true ;
736- }
737- } ;
738- } ) ;
735+ $ . each (
736+ [ "borderLeftStyle" , "borderRightStyle" , "borderBottomStyle" , "borderTopStyle" ] ,
737+ function ( _ , prop ) {
738+ $ . fx . step [ prop ] = function ( fx ) {
739+ if ( fx . end !== "none" && ! fx . setAttr || fx . pos === 1 && ! fx . setAttr ) {
740+ jQuery . style ( fx . elem , prop , fx . end ) ;
741+ fx . setAttr = true ;
742+ }
743+ } ;
744+ }
745+ ) ;
739746
740747function getElementStyles ( elem ) {
741748 var key , len ,
@@ -1009,7 +1016,9 @@ if ( $.uiBackCompat !== false ) {
10091016 $ ( active ) . trigger ( "focus" ) ;
10101017 }
10111018
1012- wrapper = element . parent ( ) ; //Hotfix for jQuery 1.4 since some change in wrap() seems to actually lose the reference to the wrapped element
1019+ // Hotfix for jQuery 1.4 since some change in wrap() seems to actually
1020+ // lose the reference to the wrapped element
1021+ wrapper = element . parent ( ) ;
10131022
10141023 // Transfer positioning properties to the wrapper
10151024 if ( element . css ( "position" ) === "static" ) {
@@ -1198,7 +1207,9 @@ $.extend( $.effects, {
11981207
11991208 // Convert inline to inline block to account for inline elements
12001209 // that turn to inline block based on content (like img)
1201- display : / ^ ( i n l i n e | r u b y ) / . test ( element . css ( "display" ) ) ? "inline-block" : "block" ,
1210+ display : / ^ ( i n l i n e | r u b y ) / . test ( element . css ( "display" ) ) ?
1211+ "inline-block" :
1212+ "block" ,
12021213 visibility : "hidden" ,
12031214
12041215 // Margins need to be set to account for margin collapse
@@ -1490,9 +1501,11 @@ $.fn.extend( {
14901501 } ,
14911502
14921503 cssClip : function ( clipObj ) {
1493- return clipObj ?
1494- this . css ( "clip" , "rect(" + clipObj . top + "px " + clipObj . right + "px " + clipObj . bottom + "px " + clipObj . left + "px)" ) :
1495- parseClip ( this . css ( "clip" ) , this ) ;
1504+ if ( clipObj ) {
1505+ return this . css ( "clip" , "rect(" + clipObj . top + "px " + clipObj . right + "px " +
1506+ clipObj . bottom + "px " + clipObj . left + "px)" ) ;
1507+ }
1508+ return parseClip ( this . css ( "clip" ) , this ) ;
14961509 } ,
14971510
14981511 transfer : function ( options , done ) {
0 commit comments