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

Function local

external/.d3.js:5412–5415  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

5410
5411// Like d3.local, but with the name “__brush” rather than auto-generated.
5412function local(node) {
5413 while (!node.__brush) if (!(node = node.parentNode)) return;
5414 return node.__brush;
5415}
5416
5417function empty(extent) {
5418 return extent[0][0] === extent[1][0]

Callers 3

brushFunction · 0.85
redrawFunction · 0.85
startedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected