We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4e94ad commit 50ff33dCopy full SHA for 50ff33d
README.md
@@ -1710,7 +1710,7 @@ Other Style Guides
1710
.updateCount();
1711
1712
// bad
1713
- const leds = stage.selectAll('.led').data(data).enter().append('svg:svg').class('led', true)
+ const leds = stage.selectAll('.led').data(data).enter().append('svg:svg').classed('led', true)
1714
.attr('width', (radius + margin) * 2).append('svg:g')
1715
.attr('transform', 'translate(' + (radius + margin) + ',' + (radius + margin) + ')')
1716
.call(tron.led);
0 commit comments