aboutsummaryrefslogtreecommitdiffstats
path: root/demos/widget
diff options
context:
space:
mode:
Diffstat (limited to 'demos/widget')
-rw-r--r--demos/widget/default.html6
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