source:
node_modules/d3-selection/src/selection/node.js
| Last change on this file was e4c61dd, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 258 bytes | |
| Rev | Line | |
|---|---|---|
| [e4c61dd] | 1 | export default function() { |
| 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; i < n; ++i) { | |
| 5 | var node = group[i]; | |
| 6 | if (node) return node; | |
| 7 | } | |
| 8 | } | |
| 9 | ||
| 10 | return null; | |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
