MCPcopy Create free account
hub / github.com/unconed/TermKit / posProcess

Function posProcess

HTML/external/jquery-ui/development-bundle/jquery-1.5.1.js:4656–4676  ·  view source on GitHub ↗
( selector, context )

Source from the content-addressed store, hash-verified

4654};
4655
4656var posProcess = function( selector, context ) {
4657 var match,
4658 tmpSet = [],
4659 later = "",
4660 root = context.nodeType ? [context] : context;
4661
4662 // Position selectors must be done after the filter
4663 // And so must :not(positional) so we move all PSEUDOs to the end
4664 while ( (match = Expr.match.PSEUDO.exec( selector )) ) {
4665 later += match[0];
4666 selector = selector.replace( Expr.match.PSEUDO, "" );
4667 }
4668
4669 selector = Expr.relative[selector] ? selector + "*" : selector;
4670
4671 for ( var i = 0, l = root.length; i < l; i++ ) {
4672 Sizzle( selector, root[i], tmpSet );
4673 }
4674
4675 return Sizzle.filter( later, tmpSet );
4676};
4677
4678// EXPOSE
4679jQuery.find = Sizzle;

Callers 1

SizzleFunction · 0.70

Calls 1

SizzleFunction · 0.70

Tested by

no test coverage detected