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