X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=48740377ce0c991a39a81f318ee57ec8a433f986;hb=9791855ea91988e9ff02063e0c5ece759d8ba898;hp=74b912e665bc8de7e43c1f247a6e1b47bdebb32f;hpb=1c42201d7aba027afeaec8bef5e026d74ce38a7b;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 74b912e..4874037 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -932,10 +932,6 @@ jQuery.fn = jQuery.prototype = { * Please note: the expression cannot use a reference to the * element name. See the two examples below. * - * This will not work: $(".res img").not("img[@src$=on]") - * - * This will: $(".res img").not("[@src$=on]"); // also could be written $(".res img:not([@src$=on])") - * * @example $("p").not( $("div p.selected") ) * @before

Hello

Hello Again

* @result [

Hello

] @@ -1476,7 +1472,7 @@ jQuery.extend({ [0,"",""]; // Go to html and back, then peel off extra wrappers - div.innerHTML = wrap[1] + s + wrap[2]; + div.innerHTML = wrap[1] + arg + wrap[2]; // Move to the right depth while ( wrap[0]-- ) @@ -1499,7 +1495,9 @@ jQuery.extend({ } - arg = div.childNodes; + arg = []; + for (var i=0, l=div.childNodes.length; i