Skip to content

Commit

Permalink
Use correct prepare/cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr committed Apr 19, 2024
1 parent 9d0e2f8 commit 246ee54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -102976,9 +102976,9 @@ location.href = '#foo';</code></pre>
<p>If <var>transition</var> is not null, then:</p>

<ol>
<li><p><span>Prepare to run a callback</span> given <var>document</var>.</p></li>
<li><p><span>Prepare to run script</span> given <var>document</var>.</p></li>
<li><p><span data-x="activate view transition">Activate</span> <var>transition</var>.</p></li>
<li><p><span>Clean up after running a callback</span> given <var>document</var>.</p></li>
<li><p><span>Clean up after running script</span> given <var>document</var>.</p></li>
</ol>

<p class=note>Activating a view transition might resolve/reject promises, so by wrapping the
Expand Down

0 comments on commit 246ee54

Please sign in to comment.