From 4515aba79c56b28d9cf7bae902c71fb38763f693 Mon Sep 17 00:00:00 2001 From: Sean Catchpole Date: Tue, 8 Apr 2008 16:40:03 +0000 Subject: [PATCH] $.extend deep now copies children's children, ect... --- src/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.js b/src/core.js index de82d7742..5690df16e 100644 --- a/src/core.js +++ b/src/core.js @@ -595,7 +595,7 @@ jQuery.extend = jQuery.fn.extend = function() { // Recurse if we're merging object values if ( deep && options[ name ] && typeof options[ name ] == "object" && target[ name ] && !options[ name ].nodeType ) - target[ name ] = jQuery.extend( target[ name ], options[ name ] ); + target[ name ] = jQuery.extend( deep, target[ name ], options[ name ] ); // Don't bring in undefined values else if ( options[ name ] != undefined ) -- 2.39.5