MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / elementMatcher

Function elementMatcher

Three.js/js/jquery-1.9.1.js:5141–5153  ·  view source on GitHub ↗
( matchers )

Source from the content-addressed store, hash-verified

5139}
5140
5141function elementMatcher( matchers ) {
5142 return matchers.length > 1 ?
5143 function( elem, context, xml ) {
5144 var i = matchers.length;
5145 while ( i-- ) {
5146 if ( !matchers[i]( elem, context, xml ) ) {
5147 return false;
5148 }
5149 }
5150 return true;
5151 } :
5152 matchers[0];
5153}
5154
5155function condense( unmatched, map, filter, context, xml ) {
5156 var elem,

Callers 1

matcherFromTokensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected