aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-06-14 10:51:29 -0400
committerScott González <scott.gonzalez@gmail.com>2012-06-14 11:17:20 -0400
commit00d4beb0ca4a99933bb7e786a1dd50618c180a0b (patch)
treefcd9d94f1e1d9daf44fc14c6bc331fef3c3b38b8 /tests
parent28b14ec47cfeb3c58e44f35170cdd8a9270aceae (diff)
downloadjquery-ui-00d4beb0ca4a99933bb7e786a1dd50618c180a0b.tar.gz
jquery-ui-00d4beb0ca4a99933bb7e786a1dd50618c180a0b.zip
Widget: Create eventNamespace property instead of constantly rebuilding it.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/widget/widget_core.js4
1 files changed, 2 insertions, 2 deletions
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"
});
},