aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2008-05-02 19:49:41 +0000
committerScott González <scott.gonzalez@gmail.com>2008-05-02 19:49:41 +0000
commit35c68b4578f804bcd10fe7ee1628cbbd263c32ff (patch)
tree62e351a40452b8148ab25cd75184da127539f65f /src
parent87758bbe693c77c15e02f485a85e7d993248d190 (diff)
downloadjquery-35c68b4578f804bcd10fe7ee1628cbbd263c32ff.tar.gz
jquery-35c68b4578f804bcd10fe7ee1628cbbd263c32ff.zip
core: Fixed #2600: jQuery.extend no longer skips over null properties.
Diffstat (limited to 'src')
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index 80115b442..c3cd3d8e3 100644
--- a/src/core.js
+++ b/src/core.js
@@ -587,7 +587,7 @@ jQuery.extend = jQuery.fn.extend = function() {
target[ name ] = jQuery.extend( deep, src, copy );
// Don't bring in undefined values
- else if ( copy != undefined )
+ else if ( copy !== undefined )
target[ name ] = copy;
}