MCPcopy Index your code
hub / github.com/JsAaron/jQuery / condense

Function condense

2.1.1/test/sizzle.js:1625–1644  ·  view source on GitHub ↗
( unmatched, map, filter, context, xml )

Source from the content-addressed store, hash-verified

1623}
1624
1625function condense( unmatched, map, filter, context, xml ) {
1626 var elem,
1627 newUnmatched = [],
1628 i = 0,
1629 len = unmatched.length,
1630 mapped = map != null;
1631
1632 for ( ; i < len; i++ ) {
1633 if ( (elem = unmatched[i]) ) {
1634 if ( !filter || filter( elem, context, xml ) ) {
1635 newUnmatched.push( elem );
1636 if ( mapped ) {
1637 map.push( i );
1638 }
1639 }
1640 }
1641 }
1642
1643 return newUnmatched;
1644}
1645
1646function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
1647 if ( postFilter && !postFilter[ expando ] ) {

Callers 2

setMatcherFunction · 0.70
superMatcherFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected