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

Function condense

2.0.3/2.0.3.js:2409–2428  ·  view source on GitHub ↗
( unmatched, map, filter, context, xml )

Source from the content-addressed store, hash-verified

2407 }
2408
2409 function condense( unmatched, map, filter, context, xml ) {
2410 var elem,
2411 newUnmatched = [],
2412 i = 0,
2413 len = unmatched.length,
2414 mapped = map != null;
2415
2416 for ( ; i < len; i++ ) {
2417 if ( (elem = unmatched[i]) ) {
2418 if ( !filter || filter( elem, context, xml ) ) {
2419 newUnmatched.push( elem );
2420 if ( mapped ) {
2421 map.push( i );
2422 }
2423 }
2424 }
2425 }
2426
2427 return newUnmatched;
2428 }
2429
2430 function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
2431 if ( postFilter && !postFilter[ expando ] ) {

Callers 2

setMatcherFunction · 0.70
superMatcherFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected