Skip to content

Commit fd8d5d2

Browse files
committed
Placeholder for _bind prototype
1 parent eeda4ea commit fd8d5d2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ui/jquery.ui.widget.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,12 @@ $.Widget.prototype = {
205205
disable: function() {
206206
return this._setOption( "disabled", true );
207207
},
208+
209+
_bind: function() {
210+
// TODO figure out which element to bind to: this.element, if none specified
211+
// TODO append widget namespace to all event names
212+
// TODO set the scope of the callback to the instance (this here)
213+
},
208214

209215
_trigger: function( type, event, data ) {
210216
var callback = this.options[ type ];

0 commit comments

Comments
 (0)