diff options
author | jeresig <jeresig@gmail.com> | 2009-12-18 19:43:04 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2009-12-18 19:43:04 -0500 |
commit | 298bfb79e6acfe2c0e3b1845a05291af82910ace (patch) | |
tree | 0fa113d600409370f2fabe16f08be6d00ffe1fd4 /src | |
parent | 67b3be24e1215609cca524ee8158fc7e6e80db93 (diff) | |
download | jquery-298bfb79e6acfe2c0e3b1845a05291af82910ace.tar.gz jquery-298bfb79e6acfe2c0e3b1845a05291af82910ace.zip |
The constructor check for isPlainObject was redundant, everything still passes without it.
Diffstat (limited to 'src')
-rw-r--r-- | src/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js index 67b4574be..eb67ba19f 100644 --- a/src/core.js +++ b/src/core.js @@ -434,7 +434,7 @@ jQuery.extend({ // Must be an Object. // Because of IE, we also have to check the presence of the constructor property. // Make sure that DOM nodes and window objects don't pass through, as well - if ( !obj || toString.call(obj) !== "[object Object]" || !("constructor" in obj) || obj.nodeType || obj.setInterval ) { + if ( !obj || toString.call(obj) !== "[object Object]" || obj.nodeType || obj.setInterval ) { return false; } |