aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/widget/widget_core.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/widget/widget_core.js b/tests/unit/widget/widget_core.js
index c73f7284c..b08de27c7 100644
--- a/tests/unit/widget/widget_core.js
+++ b/tests/unit/widget/widget_core.js
@@ -670,7 +670,6 @@ test( "_bind() with delegate", function() {
expect( 8 );
$.widget( "ui.testWidget", {
_create: function() {
- var that = this;
this.element = {
bind: function( event, handler ) {
equal( event, "click.testWidget" );
@@ -682,7 +681,7 @@ test( "_bind() with delegate", function() {
ok( $.isFunction(handler) );
},
trigger: $.noop
- }
+ };
this._bind({
"click": "handler",
"click a": "handler",
@@ -698,7 +697,7 @@ test( "_bind() with delegate", function() {
}
});
$.ui.testWidget();
-})
+});
test( "._hoverable()", function() {
$.widget( "ui.testWidget", {