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

Function attrStringNS

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

Source from the content-addressed store, hash-verified

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) {
7228 this.setAttributeNS(name.space, name.local, i(t));
7229 });
7230 }
7231 return b == null ? name.local ? attrNullNS : attrNull : (b += "", name.local ? attrStringNS : attrString);
7232 });
7233 };

Callers

nothing calls this directly

Calls 2

interpolateFunction · 0.85
iFunction · 0.70

Tested by

no test coverage detected