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

Function attrString

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

Source from the content-addressed store, hash-verified

7217 }
7218 return d3_transition_tween(this, "attr." + nameNS, value, function(b) {
7219 function attrString() {
7220 var a = this.getAttribute(name), i;
7221 return a !== b && (i = interpolate(a, b), function(t) {
7222 this.setAttribute(name, i(t));
7223 });
7224 }
7225 function attrStringNS() {
7226 var a = this.getAttributeNS(name.space, name.local), i;
7227 return a !== b && (i = interpolate(a, b), function(t) {

Callers

nothing calls this directly

Calls 2

interpolateFunction · 0.85
iFunction · 0.70

Tested by

no test coverage detected