| changeset 47 | c0b4a8b5a012 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolkit/javascript/d3/src/core/transition-text.js Thu Apr 10 14:20:23 2014 +0200 @@ -0,0 +1,7 @@ +d3_transitionPrototype.text = function(value) { + return this.tween("text", function(d, i) { + this.textContent = typeof value === "function" + ? value.call(this, d, i) + : value; + }); +};