MCPcopy Create free account
hub / github.com/LearnBoost/drawback / posProcess

Function posProcess

plugins/flot/jquery.js:2343–2361  ·  view source on GitHub ↗
(selector, context)

Source from the content-addressed store, hash-verified

2341};
2342
2343var posProcess = function(selector, context){
2344 var tmpSet = [], later = "", match,
2345 root = context.nodeType ? [context] : context;
2346
2347 // Position selectors must be done after the filter
2348 // And so must :not(positional) so we move all PSEUDOs to the end
2349 while ( (match = Expr.match.PSEUDO.exec( selector )) ) {
2350 later += match[0];
2351 selector = selector.replace( Expr.match.PSEUDO, "" );
2352 }
2353
2354 selector = Expr.relative[selector] ? selector + "*" : selector;
2355
2356 for ( var i = 0, l = root.length; i < l; i++ ) {
2357 Sizzle( selector, root[i], tmpSet );
2358 }
2359
2360 return Sizzle.filter( later, tmpSet );
2361};
2362
2363// EXPOSE
2364jQuery.find = Sizzle;

Callers 1

SizzleFunction · 0.70

Calls 1

SizzleFunction · 0.70

Tested by

no test coverage detected