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

Editorial: Add missing steps in getGamepads #205

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1681,8 +1681,8 @@ <h3>
The {{Navigator/getGamepads()}} method steps are:
</p>
<ol>
<li>Let |doc| be the [=current global object=]'s [=associated
`Document`=].
<li>Let |doc:Document?| be the [=current global object=]'s
[=associated `Document`=].
</li>
<li>If |doc| is `null` or |doc| is not [=Document/fully active=],
then return an empty [=list=].
Expand All @@ -1697,6 +1697,8 @@ <h3>
<li>Let |now:DOMHighResTimeStamp| be the [=current high resolution
time=].
</li>
<li>Let |gamepads:sequence&lt;Gamepad?&gt;| be an empty [=list=].
nondebug marked this conversation as resolved.
Show resolved Hide resolved
</li>
<li>[=list/For each=] |gamepad:Gamepad| of
[=this=].{{Navigator/[[gamepads]]}}:
<ol>
Expand All @@ -1709,6 +1711,8 @@ <h3>
</li>
</ol>
</li>
<li>[=list/Append=] |gamepad| to |gamepads|.
</li>
</ol>
</li>
<li>Return |gamepads|.
Expand Down
Loading