_getCreateOptions: function() {
return $.metadata && $.metadata.get( this.element[0] )[ this.widgetName ];
},
- _create: function() {},
- _init: function() {},
+ _create: $.noop,
+ _init: $.noop,
_super: function( method ) {
return this.base[ method ].apply( this, slice.call( arguments, 1 ) );
},
destroy: function() {
+ this._destroy();
this.element
.unbind( "." + this.widgetName )
.removeData( this.widgetName );
this.widgetBaseClass + "-disabled " +
"ui-state-disabled" );
},
+ _destroy: $.noop,
widget: function() {
return this.element;