MCPcopy
hub / github.com/idank/explainshell / d3_rebind

Function d3_rebind

explainshell/web/static/js/d3.v3.js:354–359  ·  view source on GitHub ↗
(target, source, method)

Source from the content-addressed store, hash-verified

352 return target;
353 };
354 function d3_rebind(target, source, method) {
355 return function() {
356 var value = method.apply(source, arguments);
357 return value === source ? target : value;
358 };
359 }
360 d3.dispatch = function() {
361 var dispatch = new d3_dispatch(), i = -1, n = arguments.length;
362 while (++i < n) dispatch[arguments[i]] = d3_dispatch_event(dispatch);

Callers 1

d3.v3.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected