You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
289 B
11 lines
289 B
1 year ago
|
export default function(callback) {
|
||
|
|
||
|
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]) callback.call(node, node.__data__, i, group);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
return this;
|
||
|
}
|