Dialog: Fix code style

This commit is contained in:
Scott González 2016-08-31 11:22:54 -04:00
parent d2ce363200
commit 4e39014803

View File

@ -34,7 +34,7 @@ return $.extend( helper, {
}, },
shouldResize: function( assert, element, dw, dh, msg ) { shouldResize: function( assert, element, dw, dh, msg ) {
var actualDH, actualDW, heightAfter, widthAfter var actualDH, actualDW, heightAfter, widthAfter,
d = element.dialog( "widget" ), d = element.dialog( "widget" ),
handle = $( ".ui-resizable-se", d ), handle = $( ".ui-resizable-se", d ),
heightBefore = element.height(), heightBefore = element.height(),
@ -52,7 +52,7 @@ return $.extend( helper, {
// TODO: Switch to assert.close(). // TODO: Switch to assert.close().
// Also change the testDrag() helper. // Also change the testDrag() helper.
assert.ok( Math.abs(actualDH - dh) <= 1 && Math.abs(actualDW - dw) <= 1, "resized[50, 50] " + msg ); assert.ok( Math.abs( actualDH - dh ) <= 1 && Math.abs( actualDW - dw ) <= 1, "resized[50, 50] " + msg );
} }
} ); } );