diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-06-13 08:00:45 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-06-13 08:00:45 -0400 |
commit | 9608e981498846b3727cc4dad723a7fa7252fd86 (patch) | |
tree | 591ab885bf28ef77be87b2121fe9ecb461e7358f /demos/widget | |
parent | e8b623207abcae500ffb3860378543906cd4e2b2 (diff) | |
download | jquery-ui-9608e981498846b3727cc4dad723a7fa7252fd86.tar.gz jquery-ui-9608e981498846b3727cc4dad723a7fa7252fd86.zip |
Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off.
Diffstat (limited to 'demos/widget')
-rw-r--r-- | demos/widget/default.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/widget/default.html b/demos/widget/default.html index f39825034..8d08256ce 100644 --- a/demos/widget/default.html +++ b/demos/widget/default.html @@ -56,8 +56,8 @@ .button(); // bind click events on the changer button to the random method - this._bind( this.changer, { - // _bind won't call random when widget is disabled + this._on( this.changer, { + // _on won't call random when widget is disabled click: "random" }); this._refresh(); @@ -90,7 +90,7 @@ } }, - // events bound via _bind are removed automatically + // events bound via _on are removed automatically // revert other modifications here _destroy: function() { // remove generated elements |