MCPcopy Create free account
hub / github.com/jipegit/OSXAuditor / attrFunction

Function attrFunction

d3-3.2.8/d3.js:580–583  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

578 this.setAttributeNS(name.space, name.local, value);
579 }
580 function attrFunction() {
581 var x = value.apply(this, arguments);
582 if (x == null) this.removeAttribute(name); else this.setAttribute(name, x);
583 }
584 function attrFunctionNS() {
585 var x = value.apply(this, arguments);
586 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