Skip to content
Permalink
Browse files

Widget: Removed commented out code.

  • Loading branch information...
scottgonzalez committed Jan 14, 2011
1 parent cb50642 commit 2df430d0e361a88f5c598a5e8d81fe3d163ff630
Showing with 0 additions and 5 deletions.
  1. +0 −5 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,

0 comments on commit 2df430d

Please sign in to comment.
You can’t perform that action at this time.