Skip to content

Commit bb0d61a

Browse files
committed
Cleanup some promises language.
1 parent 1052bc5 commit bb0d61a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5082,7 +5082,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
50825082
and if passed, the <a data-link-for="JsonldOptions">compactArrays</a>
50835083
<span class="changed">and <a data-link-for="JsonldOptions">ordered</a></span>
50845084
flags in <a data-lt="jsonldprocessor-compact-options">options</a>.</li>
5085-
<li>Fulfill the <var>promise</var> passing <var>compacted output</var>
5085+
<li>Resolve the <var>promise</var> with <var>compacted output</var>
50865086
<span class="changed">transforming <var>compacted output</var> from the
50875087
<a>internal representation</a> to a JSON serialization</span>.</li>
50885088
</ol>
@@ -5114,8 +5114,8 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
51145114
<li>If the passed <a data-lt="jsonldprocessor-expand-input">input</a>
51155115
is a <a>string</a> representing the <a>IRI</a> of a remote document, await and dereference it as <var>remote document</var>
51165116
using <a>LoadDocumentCallback</a>, passing <a data-lt="jsonldprocessor-expand-input">input</a>
5117-
for <a data-link-for="LoadDocumentCallback">url</a>
5118-
and the <a data-link-for="JsonldOptions">extractAllScripts</a> option for <a data-link-for="LoadDocumentOptions">extractAllScripts</a>.
5117+
for <a data-link-for="LoadDocumentCallback">url</a>,
5118+
the <a data-link-for="JsonldOptions">extractAllScripts</a> option for <a data-link-for="LoadDocumentOptions">extractAllScripts</a>.
51195119
</li>
51205120
<li class="changed">If necessary, transform <a data-link-for="RemoteDocument">document</a>
51215121
from <var>remote document</var> into the <a>internal representation</a>.
@@ -5141,7 +5141,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
51415141
and if passed, the <span class="changed"><a data-link-for="JsonldOptions">frameExpansion</a></span>
51425142
<span class="changed">and <a data-link-for="JsonldOptions">ordered</a></span>
51435143
flags in <a data-lt="jsonldprocessor-compact-options">options</a>.</li>
5144-
<li>Fulfill the <var>promise</var> passing <var>expanded output</var>
5144+
<li>Resolve the <var>promise</var> with <var>expanded output</var>
51455145
<span class="changed">transforming <var>expanded output</var> from the
51465146
<a>internal representation</a> to a JSON serialization</span>.</li>
51475147
</ol>
@@ -5187,7 +5187,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
51875187
and if passed, the <a data-link-for="JsonldOptions">compactArrays</a>
51885188
<span class="changed">and <a data-link-for="JsonldOptions">ordered</a></span>
51895189
flags in <a data-lt="jsonldprocessor-compact-options">options</a>.</li>
5190-
<li>Fulfill the <var>promise</var> passing <var>flattened output</var>
5190+
<li>Resolve the <var>promise</var> with <var>flattened output</var>
51915191
<span class="changed">transforming <var>flattened output</var> from the
51925192
<a>internal representation</a> to a JSON serialization</span>.</li>
51935193
</ol>
@@ -5242,7 +5242,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
52425242
as is the support for <a>generalized RDF Datasets</a>
52435243
and thus the <a data-link-for="JsonLdOptions">produceGeneralizedRdf</a> option may be also be removed.</div>
52445244
</li>
5245-
<li>Fulfill the <var>promise</var> passing <var>dataset</var>.</li>
5245+
<li>Resolve the <var>promise</var> with <var>dataset</var>.</li>
52465246
</ol>
52475247

52485248
<dl class="parameters">
@@ -5283,7 +5283,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
52835283
as is the support for <a>generalized RDF Datasets</a>
52845284
and thus the <a data-link-for="JsonLdOptions">produceGeneralizedRdf</a> option may be also be removed.</div>
52855285
</li>
5286-
<li>Fulfill the <var>promise</var> passing <var>dataset</var>.</li>
5286+
<li>Resolve the <var>promise</var> with <var>dataset</var>.</li>
52875287
</ol>
52885288

52895289
<dl class="parameters">
@@ -5556,8 +5556,8 @@ <h3>LoadDocumentCallback</h3>
55565556

55575557
<p>The <dfn>LoadDocumentCallback</dfn> defines a callback that custom document loaders
55585558
have to implement to be used to retrieve remote documents and contexts.
5559-
Upon successful completion, the callback returns a <a>Promise</a> containing a <a>RemoteDocument</a>.
5560-
On failure, the Promise is rejected with an appropriate error <a data-link-for="JsonLdError">code</a>.</p>
5559+
The callback returns a <a>Promise</a> resolving to a <a>RemoteDocument</a>.
5560+
On failure, the <a>Promise</a> is rejected with an appropriate error <a data-link-for="JsonLdError">code</a>.</p>
55615561

55625562
<pre class="idl" data-transform="unComment"><!--
55635563
callback LoadDocumentCallback = Promise&lt;RemoteDocument> (
@@ -5684,7 +5684,7 @@ <h3>LoadDocumentCallback</h3>
56845684
the returned <a>Content-Type</a> (without parameters) as <a data-link-for="RemoteDocument">contentType</a>,
56855685
any returned <code>profile</code> parameter,
56865686
and any <var>contextUrl</var>.</li>
5687-
<li>Fulfill the <var>promise</var> passing <var>remote document</var>.</li>
5687+
<li>Resolve the <var>promise</var> with <var>remote document</var>.</li>
56885688
</ol>
56895689

56905690
<p class="note">A custom <a>LoadDocumentCallback</a> set via the

0 commit comments

Comments
 (0)