aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-01-18 01:53:20 -0500
committerScott González <scott.gonzalez@gmail.com>2011-01-18 01:53:20 -0500
commit6072703cd17a04b0de83b337534fd0c12e24aa88 (patch)
treea3348bce17493e390346580f5a0c43394a85c0d3 /tests
parent659db70caa2ff1e3a43e98f3895f0353ebcee154 (diff)
downloadjquery-ui-6072703cd17a04b0de83b337534fd0c12e24aa88.tar.gz
jquery-ui-6072703cd17a04b0de83b337534fd0c12e24aa88.zip
Widget: Added "dynamic" bindings via ._bind() to allow for proxying.
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 f0afaa956..5ed0717da 100644
--- a/tests/unit/widget/widget_core.js
+++ b/tests/unit/widget/widget_core.js
@@ -412,7 +412,7 @@ test( "_bind to element (default)", function() {
self = this;
this._bind({
keyup: this.keyup,
- keydown: this.keydown
+ keydown: "keydown"
});
},
keyup: function( event ) {
@@ -452,7 +452,7 @@ test( "_bind to descendent", function() {
self = this;
this._bind( this.element.find( "strong" ), {
keyup: this.keyup,
- keydown: this.keydown
+ keydown: "keydown"
});
},
keyup: function( event ) {