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

Function removeAll

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

Source from the content-addressed store, hash-verified

973 l._ = listener;
974 }
975 function removeAll() {
976 var re = new RegExp("^__on([^.]+)" + d3.requote(type) + "$"), match;
977 for (var name in this) {
978 if (match = name.match(re)) {
979 var l = this[name];
980 this.removeEventListener(match[1], l, l.$);
981 delete this[name];
982 }
983 }
984 }
985 return i ? listener ? onAdd : onRemove : listener ? d3_noop : removeAll;
986 }
987 var d3_selection_onFilters = d3.map({

Callers

nothing calls this directly

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected