MCPcopy Index your code
hub / github.com/apache/caldera / elementMatcher

Function elementMatcher

static/jquery/jquery.js:2232–2244  ·  view source on GitHub ↗
( matchers )

Source from the content-addressed store, hash-verified

2230}
2231
2232function elementMatcher( matchers ) {
2233 return matchers.length > 1 ?
2234 function( elem, context, xml ) {
2235 var i = matchers.length;
2236 while ( i-- ) {
2237 if ( !matchers[i]( elem, context, xml ) ) {
2238 return false;
2239 }
2240 }
2241 return true;
2242 } :
2243 matchers[0];
2244}
2245
2246function multipleContexts( selector, contexts, results ) {
2247 var i = 0,

Callers 1

matcherFromTokensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected