MCPcopy Index your code
hub / github.com/caolan/nodeunit / fn

Function fn

deps/async.js:314–317  ·  view source on GitHub ↗
(left, right)

Source from the content-addressed store, hash-verified

312 }
313 else {
314 var fn = function (left, right) {
315 var a = left.criteria, b = right.criteria;
316 return a < b ? -1 : a > b ? 1 : 0;
317 };
318 callback(null, _map(results.sort(fn), function (x) {
319 return x.value;
320 }));

Callers 5

taskCompleteFunction · 0.70
async.jsFile · 0.70
_concatFunction · 0.70
core.jsFile · 0.50
waitForFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected