X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=52b524a748d1c223f0ff4083d051b1182ba708bb;hb=7e03645a5534fc582847df6ece72aec516487b47;hp=5c9dcf3bd68599a168a1b398338cc10167608fe6;hpb=fd4905b4d9183fe80fa0171c2f8ce47f0361df3b;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 5c9dcf3..52b524a 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -176,7 +176,7 @@ jQuery.fn = jQuery.prototype = { // HANDLE: $(arraylike) // Watch for when an array-like object is passed as the selector - (a.jquery || a.length && a != window && (!a.nodeType || (jQuery.browser.msie && a.elements)) && a[0] != undefined && a[0].nodeType) && jQuery.makeArray( a ) || + (a.jquery || a.length && a != window && !a.nodeType && a[0] != undefined && a[0].nodeType) && jQuery.makeArray( a ) || // HANDLE: $(*) [ a ] ); @@ -1770,7 +1770,7 @@ jQuery.extend({ if ( typeof fn == "string" ) fn = new Function("a","return " + fn); - var result = [], r = []; + var result = []; // Go through the array, translating each of the items to their // new value (or values).