MCPcopy
hub / github.com/dataarts/dat.gui / posProcess

Function posProcess

tests/jquery.js:5156–5176  ·  view source on GitHub ↗
( selector, context )

Source from the content-addressed store, hash-verified

5154};
5155
5156var posProcess = function( selector, context ) {
5157 var match,
5158 tmpSet = [],
5159 later = "",
5160 root = context.nodeType ? [context] : context;
5161
5162 // Position selectors must be done after the filter
5163 // And so must :not(positional) so we move all PSEUDOs to the end
5164 while ( (match = Expr.match.PSEUDO.exec( selector )) ) {
5165 later += match[0];
5166 selector = selector.replace( Expr.match.PSEUDO, "" );
5167 }
5168
5169 selector = Expr.relative[selector] ? selector + "*" : selector;
5170
5171 for ( var i = 0, l = root.length; i < l; i++ ) {
5172 Sizzle( selector, root[i], tmpSet );
5173 }
5174
5175 return Sizzle.filter( later, tmpSet );
5176};
5177
5178// EXPOSE
5179jQuery.find = Sizzle;

Callers 1

SizzleFunction · 0.85

Calls 1

SizzleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…