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

docs: add a whitespace for consistent ternary formatting #36790

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

Sc4ramouche
Copy link
Contributor

Description

Thanks a lot for the docs! Added a whitespace to ensure consistent "format" of the ternary operator.

Motivation

When I was reading this doc, my eye staggered a bit when I encountered the colon here, as I did not immediately parse it as ternary operator (like the other examples in the doc).

@Sc4ramouche Sc4ramouche requested a review from a team as a code owner November 14, 2024 16:19
@Sc4ramouche Sc4ramouche requested review from sideshowbarker and removed request for a team November 14, 2024 16:19
@Sc4ramouche Sc4ramouche changed the title docs: add a whitespace for consistent formatting docs: add a whitespace for consistent ternary formatting Nov 14, 2024
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Nov 14, 2024
Copy link
Contributor

@Josh-Cena Josh-Cena merged commit 3baeaa5 into mdn:main Nov 14, 2024
7 checks passed
@Sc4ramouche Sc4ramouche deleted the patch-1 branch November 15, 2024 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants