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

Function attrFunction

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

Source from the content-addressed store, hash-verified

653 this.setAttributeNS(name.space, name.local, value);
654 }
655 function attrFunction() {
656 var x = value.apply(this, arguments);
657 if (x == null) this.removeAttribute(name); else this.setAttribute(name, x);
658 }
659 function attrFunctionNS() {
660 var x = value.apply(this, arguments);
661 if (x == null) this.removeAttributeNS(name.space, name.local); else this.setAttributeNS(name.space, name.local, x);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected