Skip to content

Editorial: modernization of script fetching algorithms#5774

Merged
domenic merged 1 commit intomasterfrom
editorial-tweaks-script-fetching
Aug 5, 2020
Merged

Editorial: modernization of script fetching algorithms#5774
domenic merged 1 commit intomasterfrom
editorial-tweaks-script-fetching

Conversation

@domenic
Copy link
Member

@domenic domenic commented Jul 31, 2020

Use "return" instead of "abort these steps", and don't re-declare
variables.

Extracted from #5302.


/webappapis.html ( diff )

@domenic domenic force-pushed the editorial-tweaks-script-fetching branch 3 times, most recently from 88008f4 to 8b8a638 Compare July 31, 2020 18:18
Use "return" instead of "abort these steps", and don't re-declare
variables. Also tweaks the multi-condition checks.
@domenic domenic force-pushed the editorial-tweaks-script-fetching branch from 8b8a638 to 1bb86dc Compare July 31, 2020 18:24
<ul>
<li><p><var>response</var>'s <span data-x="concept-response-type">type</span> is "<code
data-x="">error</code>"</p></li>
data-x="">error</code>"; or</p></li>
Copy link
Member

Choose a reason for hiding this comment

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

We typically don't include "or" in these inline lists.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, but I did it in this case because the sentence just continues on afterward, so I wanted to make the whole thing sentence-like.

Copy link
Member

Choose a reason for hiding this comment

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

@domenic domenic merged commit ad0a161 into master Aug 5, 2020
@domenic domenic deleted the editorial-tweaks-script-fetching branch August 5, 2020 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants