Skip to content
Permalink
Browse files

Widget factory: Removed support for old usage; it doesn't make sense …

…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 9247295098c0886f11f1db3b2051f6a06f42fc80
Showing with 0 additions and 5 deletions.
  1. +0 −5 ui/jquery.ui.widget.js
@@ -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 );

@@ -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.
You can’t perform that action at this time.