X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjquery%2Fjquery.js;h=cc89fff70c36a93434abc646213203bbf3103e7b;hb=027668047a65837daef59efcc5f7042303dd71c3;hp=47343c3635137bda5da19ff7857ee55ac69da083;hpb=52a78d06a44a7047f34cf1f443cebaa7916e391d;p=jquery.git
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index 47343c3..cc89fff 100644
--- a/src/jquery/jquery.js
+++ b/src/jquery/jquery.js
@@ -774,30 +774,10 @@ jQuery.fn = jQuery.prototype = {
* If there was no destructive operation before, an empty set is returned.
*
* A 'destructive' operation is any operation that changes the set of
- * matched jQuery elements. These functions are:
- * These functions are:
- *
- * add
- *
- * children
- *
- * clone
- *
- * filter
- *
- * find
- *
- * not
- *
- * next
- *
- * parent
- *
- * parents
- *
- * prev
- *
- * siblings
+ * matched jQuery elements. These functions are: add
,
+ * children
, clone
, filter
,
+ * find
, not
, next
,
+ * parent
, parents
, prev
and siblings
.
*
* @example $("p").find("span").end();
* @before
Hello, how are you?
@@ -952,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") ) * @beforeHello
Hello Again
Hello
] @@ -1292,7 +1268,7 @@ jQuery.extend({ }, /** - * A generic iterator function, which can be used to seemlessly + * A generic iterator function, which can be used to seamlessly * iterate over both objects and arrays. This function is not the same * as $().each() - which is used to iterate, exclusively, over a jQuery * object. This function can be used to iterate over anything. @@ -1496,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]-- ) @@ -1519,7 +1495,7 @@ jQuery.extend({ } - arg = div.childNodes; + arg = jQuery.makeArray( div.childNodes ); } if ( arg.length === 0 && !jQuery.nodeName(arg, "form") )