@@ -5206,7 +5206,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5206
5206
that developers use to access the JSON-LD transformation methods.</ p >
5207
5207
5208
5208
< p > It is important to highlight that implementations do not modify the input parameters.
5209
- If an error is detected, the < a > Promise</ a > is
5209
+ If an error is detected, the {{ Promise}} is
5210
5210
rejected passing a < a > JsonLdError</ a > with the corresponding error
5211
5211
< a data-link-for ="JsonLdError "> code</ a >
5212
5212
and processing is stopped.</ p >
@@ -5249,7 +5249,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5249
5249
< var > context</ var > according to the steps in the < a href ="#compaction-algorithm "> Compaction algorithm</ a > :</ p >
5250
5250
5251
5251
< ol >
5252
- < li > Create a new < a > Promise</ a > < var > promise</ var > and return it.
5252
+ < li > Create a new {{ Promise}} < var > promise</ var > and return it.
5253
5253
The following steps are then executed asynchronously.</ li >
5254
5254
< li > Set < var > expanded input</ var > to the result of
5255
5255
using the < a data-link-for ="JsonLdProcessor "> expand()</ a > method
@@ -5300,7 +5300,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5300
5300
according to the steps in the < a href ="#expansion-algorithm "> Expansion algorithm</ a > :</ p >
5301
5301
5302
5302
< ol >
5303
- < li > Create a new < a > Promise</ a > < var > promise</ var > and return it.
5303
+ < li > Create a new {{ Promise}} < var > promise</ var > and return it.
5304
5304
The following steps are then executed asynchronously.</ li >
5305
5305
< li > If the passed < a data-lt ="jsonldprocessor-expand-input "> input</ a >
5306
5306
is a < a > string</ a > representing the < a > IRI</ a > of a remote document, await and dereference it as < var > remote document</ var >
@@ -5355,7 +5355,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5355
5355
according to the steps in the < a href ="#flattening-algorithm "> Flattening algorithm</ a > :</ p >
5356
5356
5357
5357
< ol >
5358
- < li > Create a new < a > Promise</ a > < var > promise</ var > and return it.
5358
+ < li > Create a new {{ Promise}} < var > promise</ var > and return it.
5359
5359
The following steps are then executed asynchronously.</ li >
5360
5360
< li > Set < var > expanded input</ var > to the result of using the < a data-link-for ="JsonLdProcessor "> expand()</ a > method
5361
5361
using < a data-lt ="jsonldprocessor-flatten-input "> input</ a >
@@ -5411,7 +5411,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5411
5411
from an arbitrary input, other than the < a data-link-for ="JsonLdProcessor "> toRdf()</ a > method.</ p >
5412
5412
5413
5413
< ol >
5414
- < li > Create a new < a > Promise</ a > < var > promise</ var > and return it.
5414
+ < li > Create a new {{ Promise}} < var > promise</ var > and return it.
5415
5415
The following steps are then executed asynchronously.</ li >
5416
5416
< li > Set < var > expanded result</ var > to the result of invoking the
5417
5417
< a href ="#serialize-rdf-as-json-ld-algorithm "> Serialize RDF as JSON-LD Algorithm</ a > method
@@ -5439,7 +5439,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5439
5439
according to the steps in the < a href ="#deserialize-json-ld-to-rdf-algorithm "> Deserialize JSON-LD to RDF Algorithm</ a > :</ p >
5440
5440
5441
5441
< ol >
5442
- < li > Create a new < a > Promise</ a > < var > promise</ var > and return it.
5442
+ < li > Create a new {{ Promise}} < var > promise</ var > and return it.
5443
5443
The following steps are then executed asynchronously.</ li >
5444
5444
< li > Set < var > expanded input</ var > to the result of using the
5445
5445
< a data-link-for ="JsonLdProcessor "> expand()</ a > method
@@ -5734,8 +5734,8 @@ <h3>LoadDocumentCallback</h3>
5734
5734
5735
5735
< p > The < dfn > LoadDocumentCallback</ dfn > defines a callback that custom document loaders
5736
5736
have to implement to be used to retrieve remote documents and contexts.
5737
- The callback returns a < a > Promise</ a > resolving to a < a > RemoteDocument</ a > .
5738
- On failure, the < a > Promise</ a > is rejected with an appropriate error < a data-link-for ="JsonLdError "> code</ a > .</ p >
5737
+ The callback returns a {{ Promise}} resolving to a < a > RemoteDocument</ a > .
5738
+ On failure, the {{ Promise}} is rejected with an appropriate error < a data-link-for ="JsonLdError "> code</ a > .</ p >
5739
5739
5740
5740
< pre class ="idl " data-transform ="unComment "> <!--
5741
5741
callback LoadDocumentCallback = Promise<RemoteDocument> (
@@ -5756,7 +5756,7 @@ <h3>LoadDocumentCallback</h3>
5756
5756
requirements on implementations of the callback.</ p >
5757
5757
5758
5758
< ol class ="changed ">
5759
- < li > Create a new < a > Promise</ a > < var > promise</ var > and return it.
5759
+ < li > Create a new {{ Promise}} < var > promise</ var > and return it.
5760
5760
The following steps are then executed asynchronously.</ li >
5761
5761
< li > Set < var > document</ var > to the body retrieved from
5762
5762
the resource identified by < a data-link-for ="LoadDocumentCallback "> url</ a > ,
@@ -5927,7 +5927,7 @@ <h3>RemoteDocument</h3>
5927
5927
If the response's < a > Content-Type</ a > is < code > application/ld+json</ code > ,
5928
5928
the HTTP Link Header is ignored.
5929
5929
If multiple HTTP Link Headers using the < code > http://www.w3.org/ns/json-ld#context</ code > link relation are found,
5930
- the < a > Promise</ a > of the < a > LoadDocumentCallback</ a > is rejected
5930
+ the {{ Promise}} of the < a > LoadDocumentCallback</ a > is rejected
5931
5931
with a < a > JsonLdError</ a > whose code is set to < a data-link-for ="JsonLdErrorCode "> multiple context link headers</ a > .</ dd >
5932
5932
< dt > < dfn data-dfn-for ="RemoteDocument "> documentUrl</ dfn > </ dt >
5933
5933
< dd > The final URL of the loaded document.
0 commit comments