From: Scott González Date: Fri, 14 Jan 2011 00:27:22 +0000 (-0500) Subject: Widget: Removed commented out code. X-Git-Tag: 1.9m4~61 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2df430d0e361a88f5c598a5e8d81fe3d163ff630;p=jquery-ui.git Widget: Removed commented out code. --- diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js index 013d0aa6b..a9538c51c 100644 --- a/ui/jquery.ui.widget.js +++ b/ui/jquery.ui.widget.js @@ -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,