MCPcopy Create free account
hub / github.com/OpenIntroStat/ims / elementMatcher

Function elementMatcher

libs/jquery-3.5.1/jquery-3.5.1.js:2460–2472  ·  view source on GitHub ↗
( matchers )

Source from the content-addressed store, hash-verified

2458}
2459
2460function elementMatcher( matchers ) {
2461 return matchers.length > 1 ?
2462 function( elem, context, xml ) {
2463 var i = matchers.length;
2464 while ( i-- ) {
2465 if ( !matchers[ i ]( elem, context, xml ) ) {
2466 return false;
2467 }
2468 }
2469 return true;
2470 } :
2471 matchers[ 0 ];
2472}
2473
2474function multipleContexts( selector, contexts, results ) {
2475 var i = 0,

Callers 1

matcherFromTokensFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected