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

Function elementMatcher

2.0.3/Sizzle.js:1566–1578  ·  view source on GitHub ↗
(matchers)

Source from the content-addressed store, hash-verified

1564 }
1565
1566 function elementMatcher(matchers) {
1567 return matchers.length > 1 ?
1568 function(elem, context, xml) {
1569 var i = matchers.length;
1570 while (i--) {
1571 if (!matchers[i](elem, context, xml)) {
1572 return false;
1573 }
1574 }
1575 return true;
1576 } :
1577 matchers[0];
1578 }
1579
1580 function condense(unmatched, map, filter, context, xml) {
1581 var elem,

Callers 1

matcherFromTokensFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected