toolkit/javascript/d3/src/core/transition-text.js
changeset 47 c0b4a8b5a012
equal deleted inserted replaced
46:efd9c589177a 47:c0b4a8b5a012
       
     1 d3_transitionPrototype.text = function(value) {
       
     2   return this.tween("text", function(d, i) {
       
     3     this.textContent = typeof value === "function"
       
     4         ? value.call(this, d, i)
       
     5         : value;
       
     6   });
       
     7 };