mirror of
https://github.com/adnexus/jquery-ui.git
synced 2026-07-27 07:04:53 +00:00
Widget: Removed commented out code.
This commit is contained in:
Vendored
-5
@@ -45,11 +45,6 @@ $.widget = function( name, base, prototype ) {
|
||||
// we need to make the options hash a property directly on the new instance
|
||||
// otherwise we'll modify the options hash on the prototype that we're
|
||||
// inheriting from
|
||||
// $.each( basePrototype, function( key, val ) {
|
||||
// if ( $.isPlainObject(val) ) {
|
||||
// basePrototype[ key ] = $.extend( {}, val );
|
||||
// }
|
||||
// });
|
||||
basePrototype.options = $.extend( true, {}, basePrototype.options );
|
||||
$[ namespace ][ name ].prototype = $.extend( true, basePrototype, {
|
||||
namespace: namespace,
|
||||
|
||||
Reference in New Issue
Block a user