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

Function fn

examples/browser/nodeunit.js:807–810  ·  view source on GitHub ↗
(left, right)

Source from the content-addressed store, hash-verified

805 }
806 else {
807 var fn = function (left, right) {
808 var a = left.criteria, b = right.criteria;
809 return a < b ? -1 : a > b ? 1 : 0;
810 };
811 callback(null, _map(results.sort(fn), function (x) {
812 return x.value;
813 }));

Callers 3

taskCompleteFunction · 0.70
nodeunit.jsFile · 0.70
_concatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected