From 298bfb79e6acfe2c0e3b1845a05291af82910ace Mon Sep 17 00:00:00 2001 From: jeresig Date: Fri, 18 Dec 2009 19:43:04 -0500 Subject: [PATCH] The constructor check for isPlainObject was redundant, everything still passes without it. --- src/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5