$.extend deep now copies children's children, ect...
This commit is contained in:
parent
dc7f8cfca6
commit
4515aba79c
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue