Skip to content

Commit

Permalink
Widget factory: Removed support for old usage; it doesn't make sense …
Browse files Browse the repository at this point in the history
…to keep partial support around since we can't get full backward-compatibility.
  • Loading branch information
scottgonzalez committed Jan 15, 2010
1 parent 988cdd5 commit 9247295
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ui/jquery.ui.widget.js
Expand Up @@ -128,8 +128,6 @@ $.Widget.prototype = {
this.element = $( element ).data( this.widgetName, this );
this.options = $.extend( true, {},
this.options,
// DEPRECATED: move defaults to prototype.options
$[this.namespace][this.widgetName].defaults,
$.metadata && $.metadata.get( element )[ this.widgetName ],
options );

Expand Down Expand Up @@ -230,7 +228,4 @@ $.Widget.prototype = {
}
};

// DEPRECATED: use the plugin's parent widget instead of $.widget
$.widget.prototype = $.Widget.prototype;

})( jQuery );

0 comments on commit 9247295

Please sign in to comment.