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

Function attrTween

explainshell/web/static/js/d3.v3.js:7236–7241  ·  view source on GitHub ↗
(d, i)

Source from the content-addressed store, hash-verified

7234 d3_transitionPrototype.attrTween = function(nameNS, tween) {
7235 var name = d3.ns.qualify(nameNS);
7236 function attrTween(d, i) {
7237 var f = tween.call(this, d, i, this.getAttribute(name));
7238 return f && function(t) {
7239 this.setAttribute(name, f(t));
7240 };
7241 }
7242 function attrTweenNS(d, i) {
7243 var f = tween.call(this, d, i, this.getAttributeNS(name.space, name.local));
7244 return f && function(t) {

Callers

nothing calls this directly

Calls 2

fFunction · 0.70
callMethod · 0.45

Tested by

no test coverage detected