| changeset 47 | c0b4a8b5a012 |
| 46:efd9c589177a | 47:c0b4a8b5a012 |
|---|---|
1 d3_selectionPrototype.text = function(value) { |
|
2 return arguments.length < 1 ? this.node().textContent |
|
3 : (this.each(typeof value === "function" |
|
4 ? function() { this.textContent = value.apply(this, arguments); } |
|
5 : function() { this.textContent = value; })); |
|
6 }; |