From 9247295098c0886f11f1db3b2051f6a06f42fc80 Mon Sep 17 00:00:00 2001 From: Scott González Date: Fri, 15 Jan 2010 22:06:15 +0000 Subject: 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. --- ui/jquery.ui.widget.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js index a73df800f..18d2b920d 100644 --- a/ui/jquery.ui.widget.js +++ b/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 ); -- cgit v1.2.3