Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid nesting for small if blocks. #849

Merged
merged 5 commits into from
Oct 11, 2023
Merged

Conversation

qingxinwu
Copy link
Collaborator

@qingxinwu qingxinwu commented Oct 10, 2023

Put small if statements in the same line instead of a nested new line, to improve the spec's readability #646.
This was brought up in one comment.


Preview | Diff

Copy link
Collaborator

@domfarolino domfarolino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks (one optional nit)! I think this is great for readability, so let's reference #646 in the OP.

spec.bs Show resolved Hide resolved
spec.bs Outdated Show resolved Hide resolved
@qingxinwu
Copy link
Collaborator Author

Looks great, thanks (one optional nit)! I think this is great for readability, so let's reference #646 in the OP.

Done.

@domfarolino domfarolino merged commit fe3e3c2 into WICG:main Oct 11, 2023
2 checks passed
github-actions bot added a commit that referenced this pull request Oct 11, 2023
SHA: fe3e3c2
Reason: push, by domfarolino

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@qingxinwu qingxinwu deleted the refactor branch October 11, 2023 15:40
github-actions bot added a commit to qingxinwu/turtledove that referenced this pull request Oct 13, 2023
SHA: fe3e3c2
Reason: push, by qingxinwu

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec Relates to the spec
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants