From 9608e981498846b3727cc4dad723a7fa7252fd86 Mon Sep 17 00:00:00 2001 From: Scott González Date: Wed, 13 Jun 2012 08:00:45 -0400 Subject: Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off. --- demos/widget/default.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'demos/widget') 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 -- cgit v1.2.3