]> source.dussan.org Git - jquery-ui.git/commitdiff
Widget Factory: Fix multiple var statements in test 1040/head
authorAlexander Schmitz <arschmitz@gmail.com>
Wed, 31 Jul 2013 21:08:30 +0000 (17:08 -0400)
committerAlexander Schmitz <arschmitz@gmail.com>
Wed, 31 Jul 2013 21:08:30 +0000 (17:08 -0400)
tests/unit/widget/widget_core.js

index aff07cc358cb282de64619076690c6f7c0746087..3db79ec06b368e531d3c406586ffd996113498dc 100644 (file)
@@ -617,9 +617,9 @@ test( ".disable()", function() {
 test( ".widget() - base", function() {
        expect( 2 );
        var constructor = $.widget( "ui.testWidget", {
-               _create: function() {}
-       });
-       var div = $( "<div>" ).testWidget();
+                       _create: function() {}
+               }),
+               div = $( "<div>" ).testWidget();
        deepEqual( div[0], div.testWidget( "widget" )[0]);
        deepEqual( constructor, $.ui.testWidget, "$.widget returns the constructor" );
 });