Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xudafeng committed Jan 5, 2018
1 parent c5a9bae commit 5817a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/d3-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class D3Tree {
node
.append('text')
.attr('fill', '#111')
.text(function(d) {
.text(d => {
return d.data.text;
})
.call(d3.multiline())
Expand Down

0 comments on commit 5817a8e

Please sign in to comment.