diff options
author | Scott González <scott.gonzalez@gmail.com> | 2016-08-31 11:22:54 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2016-08-31 11:22:54 -0400 |
commit | 4e39014803418a1cf60d0d565a6679baa93da0da (patch) | |
tree | cf9f88408646317030e092d61f36411dd357b5da /tests | |
parent | d2ce363200bd1e1801a9b2c5a0a77e1097b39daa (diff) | |
download | jquery-ui-4e39014803418a1cf60d0d565a6679baa93da0da.tar.gz jquery-ui-4e39014803418a1cf60d0d565a6679baa93da0da.zip |
Dialog: Fix code style
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/dialog/helper.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/dialog/helper.js b/tests/unit/dialog/helper.js index ede326156..ac013ecfc 100644 --- a/tests/unit/dialog/helper.js +++ b/tests/unit/dialog/helper.js @@ -34,7 +34,7 @@ return $.extend( helper, { }, shouldResize: function( assert, element, dw, dh, msg ) { - var actualDH, actualDW, heightAfter, widthAfter + var actualDH, actualDW, heightAfter, widthAfter, d = element.dialog( "widget" ), handle = $( ".ui-resizable-se", d ), heightBefore = element.height(), @@ -52,7 +52,7 @@ return $.extend( helper, { // TODO: Switch to assert.close(). // 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 ); } } ); |