Skip to content
Permalink
Browse files

Widget Factory: Fix multiple var statements in test

  • Loading branch information
arschmitz committed Jul 31, 2013
1 parent c0ab710 commit 787d607f8efebcfc5323a7c47a7a2cc4565327c6
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/unit/widget/widget_core.js
@@ -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" );
});

0 comments on commit 787d607

Please sign in to comment.
You can’t perform that action at this time.