UNPKG

d3-selection

Version:

Data-driven DOM manipulation: select elements and join them to data.

8 lines (7 loc) 231 B
export default function*() { for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) { for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) { if (node = group[i]) yield node; } } }