aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.widget.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-01-15 22:06:15 +0000
committerScott González <scott.gonzalez@gmail.com>2010-01-15 22:06:15 +0000
commit9247295098c0886f11f1db3b2051f6a06f42fc80 (patch)
treec065bdcfa641ca9b444fb4f928e0f06e83f928ab /ui/jquery.ui.widget.js
parent988cdd5dbc8422f9701a10021b9b54add5ed6026 (diff)
downloadjquery-ui-9247295098c0886f11f1db3b2051f6a06f42fc80.tar.gz
jquery-ui-9247295098c0886f11f1db3b2051f6a06f42fc80.zip
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.
Diffstat (limited to 'ui/jquery.ui.widget.js')
-rw-r--r--ui/jquery.ui.widget.js5
1 files changed, 0 insertions, 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 );