MCPcopy Create free account
hub / github.com/breck7/scroll / tween

Function tween

external/.d3.js:4524–4528  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4522function attrTweenNS(fullname, value) {
4523 var t0, i0;
4524 function tween() {
4525 var i = value.apply(this, arguments);
4526 if (i !== i0) t0 = (i0 = i) && attrInterpolateNS(fullname, i);
4527 return t0;
4528 }
4529 tween._value = value;
4530 return tween;
4531}

Callers 1

brush$1Function · 0.85

Calls 5

attrInterpolateNSFunction · 0.85
attrInterpolateFunction · 0.85
styleInterpolateFunction · 0.85
textInterpolateFunction · 0.85
iFunction · 0.70

Tested by

no test coverage detected