Skip to content

Commit 787d607

Browse files
committed
Widget Factory: Fix multiple var statements in test
1 parent c0ab710 commit 787d607

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/widget/widget_core.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -617,9 +617,9 @@ test( ".disable()", function() {
617617
test( ".widget() - base", function() {
618618
expect( 2 );
619619
var constructor = $.widget( "ui.testWidget", {
620-
_create: function() {}
621-
});
622-
var div = $( "<div>" ).testWidget();
620+
_create: function() {}
621+
}),
622+
div = $( "<div>" ).testWidget();
623623
deepEqual( div[0], div.testWidget( "widget" )[0]);
624624
deepEqual( constructor, $.ui.testWidget, "$.widget returns the constructor" );
625625
});

0 commit comments

Comments
 (0)