Sha256: 24081706a2f7a4600b298ec234f83b4307cb403551de5df43c100a3672bcc730
Contents?: true
Size: 411 Bytes
Versions: 25
Compression:
Stored size: 411 Bytes
Contents
d3_selectionPrototype.sort = function(comparator) { comparator = d3_selection_sortComparator.apply(this, arguments); for (var j = -1, m = this.length; ++j < m;) this[j].sort(comparator); return this.order(); }; function d3_selection_sortComparator(comparator) { if (!arguments.length) comparator = d3.ascending; return function(a, b) { return comparator(a && a.__data__, b && b.__data__); }; }
Version data entries
25 entries across 25 versions & 1 rubygems