diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-24 09:35:44 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-09-11 08:36:41 -0400 |
commit | eefe81bbeeb569c8fb7b5a513e40b43f50011c67 (patch) | |
tree | 828afbaf4d86a9ad1e9724c8b70aa8fdc36a7e17 | |
parent | 4b39e131b5938ac159110896e3016ce328a35980 (diff) | |
download | jquery-ui-eefe81bbeeb569c8fb7b5a513e40b43f50011c67.tar.gz jquery-ui-eefe81bbeeb569c8fb7b5a513e40b43f50011c67.zip |
FormRestMixin: Style updates
Ref #14246
-rw-r--r-- | tests/unit/form-reset-mixin/core.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/form-reset-mixin/core.js b/tests/unit/form-reset-mixin/core.js index 14e804643..4dbd7ac42 100644 --- a/tests/unit/form-reset-mixin/core.js +++ b/tests/unit/form-reset-mixin/core.js @@ -26,7 +26,7 @@ module( "widget factory", { delete $.ui.testWidget; delete $.fn.testWidget; } -}); +} ); common.testJshint( "form-reset-mixin" ); @@ -38,7 +38,7 @@ asyncTest( "form reset", function() { inputs.testWidget(); form.on( "reset", function() { - setTimeout(function() { + setTimeout( function() { deepEqual( $.ui.testWidget.refreshed, [ "input1", "input2", "input3", "input4" ], "All widgets are refreshed on form reset" ); equal( form.data( "ui-form-reset-instances" ).length, 4, @@ -61,7 +61,7 @@ asyncTest( "destroy", function() { .testWidget( "destroy" ); form.on( "reset", function() { - setTimeout(function() { + setTimeout( function() { deepEqual( $.ui.testWidget.refreshed, [ "input1", "input3", "input4" ], "All widgets are refreshed on form reset" ); deepEqual( form.data( "ui-form-reset-instances" ).length, 3, @@ -82,7 +82,7 @@ asyncTest( "destroy all", function() { .testWidget( "destroy" ); form.on( "reset", function() { - setTimeout(function() { + setTimeout( function() { deepEqual( $.ui.testWidget.refreshed, [], "No widgets are refreshed after destroy" ); strictEqual( form.data( "ui-form-reset-instances" ), undefined, "Form data is removed when the last widget instance is destroyed" ); |