MCPcopy Index your code
hub / github.com/Blogify/Blogify / condense

Function condense

public/assets/assets/scripts/frontend.js:2161–2180  ·  view source on GitHub ↗
( unmatched, map, filter, context, xml )

Source from the content-addressed store, hash-verified

2159}
2160
2161function condense( unmatched, map, filter, context, xml ) {
2162 var elem,
2163 newUnmatched = [],
2164 i = 0,
2165 len = unmatched.length,
2166 mapped = map != null;
2167
2168 for ( ; i < len; i++ ) {
2169 if ( (elem = unmatched[i]) ) {
2170 if ( !filter || filter( elem, context, xml ) ) {
2171 newUnmatched.push( elem );
2172 if ( mapped ) {
2173 map.push( i );
2174 }
2175 }
2176 }
2177 }
2178
2179 return newUnmatched;
2180}
2181
2182function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
2183 if ( postFilter && !postFilter[ expando ] ) {

Callers 2

setMatcherFunction · 0.85
superMatcherFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected