X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fcore.js;h=829e1536379f8487a1ba926c954e2358949b4972;hb=b69dc841ff6d3a3a9bcb8ebe107f1d1cad8a634f;hp=64c83317540a14aa1a110b21ec6f2680d281e541;hpb=ec146fc73d0ea06bf29938e6427fad7bcaefd6ad;p=jquery.git diff --git a/src/core.js b/src/core.js index 64c8331..829e153 100644 --- a/src/core.js +++ b/src/core.js @@ -1133,7 +1133,7 @@ jQuery.extend({ if( array != null ){ var i = array.length; // The window, strings (and functions) also have 'length' - if( i == null || typeof array == 'function' || array.setInterval ) + if( i == null || typeof array == 'string' || array.setInterval ) ret[0] = array; else while( i )