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

Function styleFunction

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

Source from the content-addressed store, hash-verified

657 this.style.setProperty(name, value, priority);
658 }
659 function styleFunction() {
660 var x = value.apply(this, arguments);
661 if (x == null) this.style.removeProperty(name); else this.style.setProperty(name, x, priority);
662 }
663 return value == null ? styleNull : typeof value === "function" ? styleFunction : styleConstant;
664 }
665 d3_selectionPrototype.property = function(name, value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected