MCPcopy Create free account
hub / github.com/breck7/scroll / selection_node

Function selection_node

external/.d3.js:2042–2052  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2040}
2041
2042function selection_node() {
2043
2044 for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {
2045 for (var group = groups[j], i = 0, n = group.length; i < n; ++i) {
2046 var node = group[i];
2047 if (node) return node;
2048 }
2049 }
2050
2051 return null;
2052}
2053
2054function selection_size() {
2055 let size = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected