X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fselector%2Fselector.js;fp=src%2Fselector%2Fselector.js;h=4a578933787bf0b43c4d30d39d4678a8adf6182c;hb=139393fe0978e79c427ad13f1a03a10431ef95e5;hp=f75bae3c4756fe80d0d8c98ecd17269bc098a576;hpb=1ce8006d480ebd64350983a17be1cc2e3f043958;p=jquery.git diff --git a/src/selector/selector.js b/src/selector/selector.js index f75bae3..4a57893 100644 --- a/src/selector/selector.js +++ b/src/selector/selector.js @@ -94,12 +94,6 @@ jQuery.extend({ return cur; }, - /** - * @name $.find - * @type Array - * @private - * @cat Core - */ find: function( t, context ) { // Quickly handle non-string expressions if ( typeof t != "string" ) @@ -427,15 +421,6 @@ jQuery.extend({ return { r: r, t: t }; }, - /** - * All ancestors of a given element. - * - * @private - * @name $.parents - * @type Array - * @param Element elem The element to find the ancestors of. - * @cat DOM/Traversing - */ parents: function( elem ){ var matched = []; var cur = elem.parentNode; @@ -446,18 +431,6 @@ jQuery.extend({ return matched; }, - /** - * A handy, and fast, way to traverse in a particular direction and find - * a specific element. - * - * @private - * @name $.nth - * @type DOMElement - * @param DOMElement cur The element to search from. - * @param String|Number num The Nth result to match. Can be a number or a string (like 'even' or 'odd'). - * @param String dir The direction to move in (pass in something like 'previousSibling' or 'nextSibling'). - * @cat DOM/Traversing - */ nth: function(cur,result,dir,elem){ result = result || 1; var num = 0; @@ -469,15 +442,6 @@ jQuery.extend({ return cur; }, - /** - * All elements on a specified axis. - * - * @private - * @name $.sibling - * @type Array - * @param Element elem The element to find all the siblings of (including itself). - * @cat DOM/Traversing - */ sibling: function( n, elem ) { var r = [];