Skip to content

Pull request against Provide clarity around chained function indents #1566 - #3324

Open
ridhimagehlot18-ship-it wants to merge 1 commit into
airbnb:masterfrom
ridhimagehlot18-ship-it:indent
Open

ridhimagehlot18-ship-it wants to merge 1 commit into
airbnb:masterfrom
ridhimagehlot18-ship-it:indent

Conversation

@ridhimagehlot18-ship-it

Copy link
Copy Markdown

Added indentation in section 19.6.

###before
// good
const leds = stage.selectAll('.led')
.data(data)
.enter().append('svg:svg')
.classed('led', true)
.attr('width', (radius + margin) * 2)
.append('svg:g')
.attr('transform', translate(${radius + margin},${radius + margin}))
.call(tron.led);

###after
// good
const leds = stage.selectAll('.led')
.data(data)
.enter().append('svg:svg')
.classed('led', true)
.attr('width', (radius + margin) * 2)
.append('svg:g')
.attr('transform', translate(${radius + margin}, ${radius + margin}))
.call(tron.led);

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant