Skip to content

Commit a150a99

Browse files
committed
Use "JsonLd" for Exposed.
1 parent c55a6fb commit a150a99

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

index.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5662,7 +5662,7 @@ <h3>Algorithm</h3>
56625662
as long as they generally use the same methods, arguments, and options
56635663
and return the same results.</span></p>
56645664

5665-
<p class="note">Interfaces are marked `[Exposed=Endpoint]`,
5665+
<p class="note">Interfaces are marked `[Exposed=JsonLd]`,
56665666
which creates a global interface.
56675667
The use of WebIDL in JSON-LD, while appropriate for use within browsers,
56685668
is not limited to such use.</p>
@@ -5688,12 +5688,12 @@ <h3>Algorithm</h3>
56885688

56895689
<pre class="idl">
56905690
/*
5691-
* The Endpoint interface is created to expose the JsonLdProcessor interface.
5691+
* The JsonLd interface is created to expose the JsonLdProcessor interface.
56925692
*/
5693-
[Global=Endpoint, Exposed=Endpoint]
5694-
interface Endpoint {};
5693+
[Global=JsonLd, Exposed=JsonLd]
5694+
interface JsonLd {};
56955695

5696-
[Exposed=Endpoint]
5696+
[Exposed=JsonLd]
56975697
interface JsonLdProcessor {
56985698
constructor();
56995699
static Promise&lt;JsonLdRecord> compact(
@@ -6092,7 +6092,7 @@ <h3>Algorithm</h3>
60926092
which has a <a>default graph</a> accessible via the <a data-link-for="RdfDataset">defaultGraph</a> attribute.</p>
60936093

60946094
<pre class="idl changed">
6095-
[Exposed=Endpoint]
6095+
[Exposed=JsonLd]
60966096
interface RdfDataset {
60976097
constructor();
60986098
readonly attribute RdfGraph defaultGraph;
@@ -6136,7 +6136,7 @@ <h3>Algorithm</h3>
61366136
which is composed of zero or more <a>RdfTriple</a> instances.</p>
61376137

61386138
<pre class="idl changed">
6139-
[Exposed=Endpoint]
6139+
[Exposed=JsonLd]
61406140
interface RdfGraph {
61416141
constructor();
61426142
void add(RdfTriple triple);
@@ -6165,7 +6165,7 @@ <h3>Algorithm</h3>
61656165
<p>The <dfn>RdfTriple</dfn> interface describes an <a>triple</a>.</p>
61666166

61676167
<pre class="idl changed">
6168-
[Exposed=Endpoint]
6168+
[Exposed=JsonLd]
61696169
interface RdfTriple {
61706170
constructor();
61716171
readonly attribute USVString subject;
@@ -6193,7 +6193,7 @@ <h3>Algorithm</h3>
61936193
<p>The <dfn>RdfLiteral</dfn> interface describes an <a>RDF Literal</a>.</p>
61946194

61956195
<pre class="idl changed">
6196-
[Exposed=Endpoint]
6196+
[Exposed=JsonLd]
61976197
interface RdfLiteral {
61986198
constructor();
61996199
readonly attribute USVString value;
@@ -6447,7 +6447,7 @@ <h3>RemoteDocument</h3>
64476447
to return information about a remote document or context.</p>
64486448

64496449
<pre class="idl">
6450-
[Exposed=Endpoint]
6450+
[Exposed=JsonLd]
64516451
interface RemoteDocument {
64526452
constructor();
64536453
readonly attribute USVString contentType;
@@ -7089,7 +7089,7 @@ <h2>Changes since Candidate Release of 05 March 2020</h2>
70897089
to update <var>cl reference</var> and not <var>node</var>.</li>
70907090
<li>Added <a href="#api-keywords" class="sectionRef"></a> to describe
70917091
the `preserve` keyword, which is only used for framing.</li>
7092-
<li>Changed `[Exposed=(Window,Worker)]` to `[Exposed=Endpoint]`,
7092+
<li>Changed `[Exposed=(Window,Worker)]` to `[Exposed=JsonLd]`,
70937093
which is declared as a global interface in order to expose the {{JsonLdProcessor}} interface
70947094
for non-browser usage to address review suggestions.</li>
70957095
</ul>

0 commit comments

Comments
 (0)