MCPcopy Create free account
hub / github.com/TruthHun/BookStack / elementMatcher

Function elementMatcher

static/wangEditor/js/lib/jquery-2.2.1.js:2193–2205  ·  view source on GitHub ↗
( matchers )

Source from the content-addressed store, hash-verified

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

Callers 1

matcherFromTokensFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected