Skip to content

Commit

Permalink
Widget: Removed commented out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Jan 14, 2011
1 parent cb50642 commit 2df430d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ui/jquery.ui.widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2df430d

Please sign in to comment.