From eefe81bbeeb569c8fb7b5a513e40b43f50011c67 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Mon, 24 Aug 2015 09:35:44 -0400 Subject: FormRestMixin: Style updates Ref #14246 --- tests/unit/form-reset-mixin/core.js | 8 ++++---- 1 file 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" ); -- cgit v1.2.3