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

Function dispatch

external/.d3.js:1556–1562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1554var noop$3 = {value: () => {}};
1555
1556function dispatch() {
1557 for (var i = 0, n = arguments.length, _ = {}, t; i < n; ++i) {
1558 if (!(t = arguments[i] + "") || (t in _) || /[\s.]/.test(t)) throw new Error("illegal type: " + t);
1559 _[t] = [];
1560 }
1561 return new Dispatch(_);
1562}
1563
1564function Dispatch(_) {
1565 this._ = _;

Callers 5

dragFunction · 0.70
.d3.jsFile · 0.70
brush$1Function · 0.70
simulationFunction · 0.70
zoomFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected