From 00d4beb0ca4a99933bb7e786a1dd50618c180a0b Mon Sep 17 00:00:00 2001 From: Scott González Date: Thu, 14 Jun 2012 10:51:29 -0400 Subject: Widget: Create eventNamespace property instead of constantly rebuilding it. --- tests/unit/widget/widget_core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/unit/widget') diff --git a/tests/unit/widget/widget_core.js b/tests/unit/widget/widget_core.js index 1e40c4080..24ae9c567 100644 --- a/tests/unit/widget/widget_core.js +++ b/tests/unit/widget/widget_core.js @@ -749,11 +749,11 @@ test( "_on() with delegate", function() { $.ui.testWidget(); }); -test( "_bind() to common element", function() { +test( "_on() to common element", function() { expect( 1 ); $.widget( "ui.testWidget", { _create: function() { - this._bind( this.document, { + this._on( this.document, { "customevent": "_handler" }); }, -- cgit v1.2.3