diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2013-07-31 17:08:30 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2013-07-31 17:08:30 -0400 |
commit | 787d607f8efebcfc5323a7c47a7a2cc4565327c6 (patch) | |
tree | 4c6c74f5666ab92a3d2c277c6d8face18cd6c953 /tests/unit/widget | |
parent | c0ab71056b936627e8a7821f03c044aec6280a40 (diff) | |
download | jquery-ui-787d607f8efebcfc5323a7c47a7a2cc4565327c6.tar.gz jquery-ui-787d607f8efebcfc5323a7c47a7a2cc4565327c6.zip |
Widget Factory: Fix multiple var statements in test
Diffstat (limited to 'tests/unit/widget')
-rw-r--r-- | tests/unit/widget/widget_core.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/widget/widget_core.js b/tests/unit/widget/widget_core.js index aff07cc35..3db79ec06 100644 --- a/tests/unit/widget/widget_core.js +++ b/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" ); }); |