Sha256: 9494ecf19c615a0c0a0be4024fb02b6c162651c8e203ec20f6b890206262e7e6
Contents?: true
Size: 417 Bytes
Versions: 31
Compression:
Stored size: 417 Bytes
Contents
d3.split = function(array, f) { var arrays = [], values = [], value, i = -1, n = array.length; if (arguments.length < 2) f = d3_splitter; while (++i < n) { if (f.call(values, value = array[i], i)) { values = []; } else { if (!values.length) arrays.push(values); values.push(value); } } return arrays; }; function d3_splitter(d) { return d == null; }
Version data entries
31 entries across 31 versions & 2 rubygems