MCPcopy Create free account
hub / github.com/idank/explainshell / onAdd

Function onAdd

explainshell/web/static/js/d3.v3.js:969–974  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

967 }
968 }
969 function onAdd() {
970 var l = wrap(listener, d3_array(arguments));
971 onRemove.call(this);
972 this.addEventListener(type, this[name] = l, l.$ = capture);
973 l._ = listener;
974 }
975 function removeAll() {
976 var re = new RegExp("^__on([^.]+)" + d3.requote(type) + "$"), match;
977 for (var name in this) {

Callers

nothing calls this directly

Calls 1

callMethod · 0.45

Tested by

no test coverage detected