@@ -286,11 +286,15 @@ $.widget( "ui.resizable", $.ui.mouse, {
286286 this . _on ( this . handles [ i ] , { "mousedown" : that . _mouseDown } ) ;
287287 }
288288
289- if ( this . elementIsWrapper && this . originalElement [ 0 ] . nodeName . match ( / ^ ( t e x t a r e a | i n p u t | s e l e c t | b u t t o n ) $ / i ) ) {
290-
289+ if ( this . elementIsWrapper &&
290+ this . originalElement [ 0 ]
291+ . nodeName
292+ . match ( / ^ ( t e x t a r e a | i n p u t | s e l e c t | b u t t o n ) $ / i ) ) {
291293 axis = $ ( this . handles [ i ] , this . element ) ;
292294
293- padWrapper = / s w | n e | n w | s e | n | s / . test ( i ) ? axis . outerHeight ( ) : axis . outerWidth ( ) ;
295+ padWrapper = / s w | n e | n w | s e | n | s / . test ( i ) ?
296+ axis . outerHeight ( ) :
297+ axis . outerWidth ( ) ;
294298
295299 padPos = [ "padding" ,
296300 / n e | n w | n / . test ( i ) ? "Top" :
@@ -797,7 +801,10 @@ $.ui.plugin.add( "resizable", "animate", {
797801 ista = pr . length && ( / t e x t a r e a / i ) . test ( pr [ 0 ] . nodeName ) ,
798802 soffseth = ista && that . _hasScroll ( pr [ 0 ] , "left" ) ? 0 : that . sizeDiff . height ,
799803 soffsetw = ista ? 0 : that . sizeDiff . width ,
800- style = { width : ( that . size . width - soffsetw ) , height : ( that . size . height - soffseth ) } ,
804+ style = {
805+ width : ( that . size . width - soffsetw ) ,
806+ height : ( that . size . height - soffseth )
807+ } ,
801808 left = ( parseFloat ( that . element . css ( "left" ) ) +
802809 ( that . position . left - that . originalPosition . left ) ) || null ,
803810 top = ( parseFloat ( that . element . css ( "top" ) ) +
@@ -839,7 +846,9 @@ $.ui.plugin.add( "resizable", "containment", {
839846 o = that . options ,
840847 el = that . element ,
841848 oc = o . containment ,
842- ce = ( oc instanceof $ ) ? oc . get ( 0 ) : ( / p a r e n t / . test ( oc ) ) ? el . parent ( ) . get ( 0 ) : oc ;
849+ ce = ( oc instanceof $ ) ?
850+ oc . get ( 0 ) :
851+ ( / p a r e n t / . test ( oc ) ) ? el . parent ( ) . get ( 0 ) : oc ;
843852
844853 if ( ! ce ) {
845854 return ;
0 commit comments