Skip to content
Permalink
Browse files
Var wasn't being explicitly declared. Fixes #7226.
  • Loading branch information
jeresig committed Oct 17, 2010
1 parent e1b940d commit a7d0b0b
Showing 1 changed file with 1 addition and 1 deletion.
@@ -312,7 +312,7 @@ jQuery.fn.init.prototype = jQuery.fn;

jQuery.extend = jQuery.fn.extend = function() {
// 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
if ( typeof target === "boolean" ) {

1 comment on commit a7d0b0b

@rwaldron
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The copy of jQuery that's being hosted at http://code.jquery.com/jquery.js is still leaking this var

Please sign in to comment.