Skip to content

Conversation

@ceynri
Copy link
Contributor

@ceynri ceynri commented Nov 17, 2019

According to the general coding standards, if statements are best to add curly braces to avoid misunderstanding, and it can make code more clear.

According to the general coding standards, if statements are best to add curly braces to avoid misunderstanding, and it can make code more clear.
@phanan phanan merged commit fbd8c6d into vuejs:master Nov 17, 2019
@phanan
Copy link
Member

phanan commented Nov 17, 2019

"General coding standards" are pretty subjective but yeah, personally I prefer wrapping if statements in braces too :) Thanks.

@vue-bot
Copy link
Contributor

vue-bot commented Nov 17, 2019

Thanks again! 💚

@ceynri ceynri deleted the patch-1 branch November 22, 2019 14:12
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.

3 participants