mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Var wasn't being explicitly declared. Fixes #7226.
This commit is contained in:
parent
e1b940d748
commit
a7d0b0b9e8
@ -312,7 +312,7 @@ jQuery.fn.init.prototype = jQuery.fn;
|
|||||||
|
|
||||||
jQuery.extend = jQuery.fn.extend = function() {
|
jQuery.extend = jQuery.fn.extend = function() {
|
||||||
// copy reference to target object
|
// copy reference to target object
|
||||||
var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options, name, src, copy, copyIsArray;
|
var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options, name, src, copy, copyIsArray, clone;
|
||||||
|
|
||||||
// Handle a deep copy situation
|
// Handle a deep copy situation
|
||||||
if ( typeof target === "boolean" ) {
|
if ( typeof target === "boolean" ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user