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

Function initialize

external/.d3.js:5874–5879  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5872 }
5873
5874 function initialize() {
5875 var state = this.__brush || {selection: null};
5876 state.extent = number2(extent.apply(this, arguments));
5877 state.dim = dim;
5878 return state;
5879 }
5880
5881 brush.extent = function(_) {
5882 return arguments.length ? (extent = typeof _ === "function" ? _ : constant$7(number2(_)), brush) : extent;

Callers 6

collideFunction · 0.70
link$2Function · 0.70
manyBodyFunction · 0.70
radial$1Function · 0.70
x$1Function · 0.70
y$1Function · 0.70

Calls 8

number2Function · 0.85
idFunction · 0.85
initializeStrengthFunction · 0.85
initializeDistanceFunction · 0.85
mapMethod · 0.80
findFunction · 0.70
xFunction · 0.70
yFunction · 0.70

Tested by

no test coverage detected