Skip to content

Commit

Permalink
Fix for update user prompt handler
Browse files Browse the repository at this point in the history
  • Loading branch information
whimboo committed May 21, 2024
1 parent 59e888e commit 76573d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10484,8 +10484,8 @@ <h3>User Prompt Handler</h3>
<li><p>If <var>value</var> is a <a>string</a> set <var>value</var> to
the <a data-cite=infra>map</a> «["<code>default</code>" → <var>value</var>]».

<li><p>If <var>value</var> is not an <a>Object</a> return <a>error</a>
with <a>error code</a> <a>invalid argument</a>.
<li><p>If <var>value</var> is not a <a data-cite=infra>map</a> return
<a>error</a> with <a>error code</a> <a>invalid argument</a>.

<li>Let <var>user prompt handler</var> be an empty <a data-cite=infra>map</a>.

Expand Down Expand Up @@ -10565,12 +10565,12 @@ <h3>User Prompt Handler</h3>
<li><p>If the <a>user prompt handler</a> is null, set the <a>user prompt
handler</a> to an empty map.

<li><p>For each <var>request key</var><var>request handler</var>
<li><p>For each <var>request prompt type</var><var>request handler</var>
in <var>requested prompt handler</var>:

<ol>
<li><p>Set <a>user prompt handler</a>[<var>key</var>] to <var>value</var>.

<li><p>Set <a>user prompt handler</a>[<var>request prompt type</var>]
to <var>request handler</var>.
</ol>

</ol>
Expand Down

0 comments on commit 76573d3

Please sign in to comment.