|
Last change
on this file since e4c61dd was e4c61dd, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Prototype 1.1
|
-
Property mode
set to
100644
|
|
File size:
289 bytes
|
| Line | |
|---|
| 1 | export default function(callback) {
|
|---|
| 2 |
|
|---|
| 3 | for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {
|
|---|
| 4 | for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {
|
|---|
| 5 | if (node = group[i]) callback.call(node, node.__data__, i, group);
|
|---|
| 6 | }
|
|---|
| 7 | }
|
|---|
| 8 |
|
|---|
| 9 | return this;
|
|---|
| 10 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.