MCPcopy Index your code
hub / github.com/caike/jQuery-Simple-Timer / elementMatcher

Function elementMatcher

examples/bundle.js:2492–2504  ·  view source on GitHub ↗
( matchers )

Source from the content-addressed store, hash-verified

2490}
2491
2492function elementMatcher( matchers ) {
2493 return matchers.length > 1 ?
2494 function( elem, context, xml ) {
2495 var i = matchers.length;
2496 while ( i-- ) {
2497 if ( !matchers[i]( elem, context, xml ) ) {
2498 return false;
2499 }
2500 }
2501 return true;
2502 } :
2503 matchers[0];
2504}
2505
2506function multipleContexts( selector, contexts, results ) {
2507 var i = 0,

Callers 1

matcherFromTokensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected