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

Function elementMatcher

libs/jquery-3.5.1/jquery-2.2.4.js:2198–2210  ·  view source on GitHub ↗
( matchers )

Source from the content-addressed store, hash-verified

2196}
2197
2198function elementMatcher( matchers ) {
2199 return matchers.length > 1 ?
2200 function( elem, context, xml ) {
2201 var i = matchers.length;
2202 while ( i-- ) {
2203 if ( !matchers[i]( elem, context, xml ) ) {
2204 return false;
2205 }
2206 }
2207 return true;
2208 } :
2209 matchers[0];
2210}
2211
2212function multipleContexts( selector, contexts, results ) {
2213 var i = 0,

Callers 1

matcherFromTokensFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected