KEMBAR78
Require sticky activation to perform vibrate by anssiko · Pull Request #30 · w3c/vibration · GitHub
Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Pass "this's relevant global object" to "perform vibration"
This is clearer.
  • Loading branch information
anssiko committed May 30, 2022
commit 167cf3c6b2131b3d4d2fd0d2678ca3b3a7bfec29
10 changes: 6 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ <h2>
</div>
</li>
<li>
<a>Perform vibration</a> with <a>this</a> and <var>valid pattern</var>.
<a>Perform vibration</a> with <a>this</a>'s <a>relevant global object
</a> and <var>valid pattern</var>.
</li>
</ol>
<p>
Expand Down Expand Up @@ -211,13 +212,14 @@ <h2>
</li>
</ol>
<p>
To <dfn>perform vibration</dfn> using <a>this</a> and <var>pattern</var>,
To <dfn>perform vibration</dfn> using a <a>global object</a>
<var>global</var> and a <a>vibration pattern</a> <var>pattern</var>,
run these steps:
</p>
<ol>
<li>
If <a>this</a>'s <a>relevant global object</a> does not have
<a>sticky activation</a>, return false and terminate these steps.
If <var>global</var> does not have <a>sticky activation</a>,
return false and terminate these steps.
</li>
<li>An implementation MAY return false and terminate these steps.
<div class="note">
Expand Down