]> source.dussan.org Git - jquery-ui.git/commitdiff
FormRestMixin: Style updates
authorAlexander Schmitz <arschmitz@gmail.com>
Mon, 24 Aug 2015 13:35:44 +0000 (09:35 -0400)
committerAlexander Schmitz <arschmitz@gmail.com>
Fri, 11 Sep 2015 12:36:41 +0000 (08:36 -0400)
Ref #14246

tests/unit/form-reset-mixin/core.js

index 14e804643ea09050d5aa960b2930de9211aaeab2..4dbd7ac4255692d1a5a1b95446fd5580ee8ec6f3 100644 (file)
@@ -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" );