aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-01-13 19:27:22 -0500
committerScott González <scott.gonzalez@gmail.com>2011-01-13 19:27:22 -0500
commit2df430d0e361a88f5c598a5e8d81fe3d163ff630 (patch)
tree7216b579ba61d89261721be5839439b6304c525e
parentcb50642e34af69e750a5bd742f5499d7b28806a8 (diff)
downloadjquery-ui-2df430d0e361a88f5c598a5e8d81fe3d163ff630.tar.gz
jquery-ui-2df430d0e361a88f5c598a5e8d81fe3d163ff630.zip
Widget: Removed commented out code.
-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 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,