MCPcopy Index your code
hub / github.com/frank-lam/fullstack-tutorial / elementMatcher

Function elementMatcher

notes/docsify/unpkg/gotop/jquery-2.1.0.js:2112–2124  ·  view source on GitHub ↗
( matchers )

Source from the content-addressed store, hash-verified

2110}
2111
2112function elementMatcher( matchers ) {
2113 return matchers.length > 1 ?
2114 function( elem, context, xml ) {
2115 var i = matchers.length;
2116 while ( i-- ) {
2117 if ( !matchers[i]( elem, context, xml ) ) {
2118 return false;
2119 }
2120 }
2121 return true;
2122 } :
2123 matchers[0];
2124}
2125
2126function condense( unmatched, map, filter, context, xml ) {
2127 var elem,

Callers 1

matcherFromTokensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected