MCPcopy Create free account
hub / github.com/JsAaron/jQuery / elementMatcher

Function elementMatcher

2.1.1/test/jquery-1.11.1.js:2155–2167  ·  view source on GitHub ↗
( matchers )

Source from the content-addressed store, hash-verified

2153}
2154
2155function elementMatcher( matchers ) {
2156 return matchers.length > 1 ?
2157 function( elem, context, xml ) {
2158 var i = matchers.length;
2159 while ( i-- ) {
2160 if ( !matchers[i]( elem, context, xml ) ) {
2161 return false;
2162 }
2163 }
2164 return true;
2165 } :
2166 matchers[0];
2167}
2168
2169function multipleContexts( selector, contexts, results ) {
2170 var i = 0,

Callers 1

matcherFromTokensFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected