X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fcore.js;h=f5c27561b2fc44a0297f3cbc5611df3d1713f15a;hb=8d04ffec16790cbfb04b42421e0ac18600625374;hp=905a399311ba521679ed6d3dc7ebf90cdd3d829e;hpb=1ead20c2ed7cb4fd647d632ff9de8104669482de;p=jquery.git diff --git a/src/core.js b/src/core.js index 905a399..f5c2756 100644 --- a/src/core.js +++ b/src/core.js @@ -605,7 +605,7 @@ jQuery.extend({ // Tweaked logic slightly to handle Blackberry 4.7 RegExp issues #6930 var type = jQuery.type(array); - if ( array.length == null || type === "string" || type === "function" || type === "regexp" || (typeof type !== "function" && array.setInterval) ) { + if ( array.length == null || type === "string" || type === "function" || type === "regexp" || "setInterval" in array ) { push.call( ret, array ); } else { jQuery.merge( ret, array );