@@ -181,8 +181,8 @@ <h1>Introduction</h1>
181
181
JSON-LD syntax defined in [[!JSON-LD]], which is the base syntax used by all
182
182
of the algorithms in this document. To understand the API and how it is
183
183
intended to operate in a programming environment, it is useful to have working
184
- knowledge of the JavaScript programming language [[ECMA-262 ]] and
185
- WebIDL [[WebIDL-2 ]]. To understand how JSON-LD maps to RDF, it is helpful to be
184
+ knowledge of the JavaScript programming language [[ECMASCRIPT-6.0 ]] and
185
+ WebIDL [[WebIDL]]. To understand how JSON-LD maps to RDF, it is helpful to be
186
186
familiar with the basic RDF concepts [[RDF11-CONCEPTS]].</ p >
187
187
188
188
< section >
@@ -3798,9 +3798,8 @@ <h2>The Application Programming Interface</h2>
3798
3798
3799
3799
< p > The JSON-LD API uses < a > Promises</ a > to represent
3800
3800
the result of the various asynchronous operations.
3801
- < a > Promises</ a > are temporarily being drafted on
3802
- < cite > < a href ="https://github.com/domenic/promises-unwrapping/blob/master/README.md "> GitHub</ a > </ cite >
3803
- [[PROMISES]] but are expected to be standardized as part of ECMAScript 6.</ p >
3801
+ < a data-cite ="ecmascript-6.0#sec-promise-objects "> Promises</ a > are defined in [[ECMASCRIPT-6.0]].
3802
+ General use within specifications can be found in [[promises-guide]].</ p >
3804
3803
3805
3804
< section class ="informative ">
3806
3805
< h3 > The < dfn > JsonLdProcessor</ dfn > Interface</ h3 >
@@ -3809,7 +3808,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
3809
3808
that developers use to access the JSON-LD transformation methods.</ p >
3810
3809
3811
3810
< p > It is important to highlight that implementations do not modify the input parameters.
3812
- If an error is detected, the Promise is
3811
+ If an error is detected, the < a > Promise</ a > is
3813
3812
rejected passing a < a > JsonLdError</ a > with the corresponding error
3814
3813
< a data-link-for ="JsonLdError "> code</ a >
3815
3814
and processing is stopped.</ p >
0 commit comments