Skip to content

Commit 41d1a1e

Browse files
committed
Update IDL method definitions to silence ReSpec warnings and conform with standard practice.
1 parent 7f99a50 commit 41d1a1e

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

index.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ <h2>Expansion</h2>
530530
and regular way of expressing of values in JSON-LD; all contextual
531531
information from the document is instead stored locally with each value.
532532
Running the <a href="#expansion-algorithm">Expansion algorithm</a>
533-
(<a data-link-for="JsonLdProcessor">expand</a>)
533+
(<a data-link-for="JsonLdProcessor">expand()</a>)
534534
operation) against the above examples results in the following output:</p>
535535

536536
<pre class="example nohighlight" data-transform="updateExample"
@@ -627,7 +627,7 @@ <h2>Compaction</h2>
627627
</pre>
628628

629629
<p>Running the <a href="#compaction-algorithm">Compaction Algorithm</a>
630-
(<a data-link-for="JsonLdProcessor">compact</a>)
630+
(<a data-link-for="JsonLdProcessor">compact()</a>)
631631
operation) given the context supplied above against the JSON-LD input
632632
document provided above would result in the following output:</p>
633633

@@ -710,7 +710,7 @@ <h2>Flattening</h2>
710710
</pre>
711711

712712
<p>Running the <a href="#flattening-algorithm">Flattening Algorithm</a>
713-
(<a data-link-for="JsonLdProcessor">flatten</a>)
713+
(<a data-link-for="JsonLdProcessor">flatten()</a>)
714714
operation) with a context set to <a>null</a> to prevent compaction
715715
returns the following document:</p>
716716

@@ -4772,7 +4772,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
47724772
</pre>
47734773

47744774
<dl data-sort>
4775-
<dt><dfn data-dfn-for="JsonLdProcessor">compact</dfn></dt>
4775+
<dt><dfn data-dfn-for="JsonLdProcessor">compact()</dfn></dt>
47764776
<dd class="algorithm">
47774777
<p><a>Compacts</a> the given <a data-lt="jsonldprocessor-compact-input">input</a> using the
47784778
<var>context</var> according to the steps in the <a href="#compaction-algorithm">Compaction algorithm</a>:</p>
@@ -4781,7 +4781,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
47814781
<li>Create a new <a>Promise</a> <var>promise</var> and return it.
47824782
The following steps are then executed asynchronously.</li>
47834783
<li>Set <var>expanded input</var> to the result of
4784-
using the <a data-link-for="JsonLdProcessor">expand</a> method
4784+
using the <a data-link-for="JsonLdProcessor">expand()</a> method
47854785
using <a data-lt="jsonldprocessor-compact-input">input</a>
47864786
and <a data-lt="jsonldprocessor-compact-options">options</a>,
47874787
<span class="changed">with <a data-link-for="JsonldOptions">ordered</a> set to <code>false</code></span>,
@@ -4823,7 +4823,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
48234823
</dl>
48244824
</dd>
48254825

4826-
<dt><dfn data-dfn-for="JsonLdProcessor">expand</dfn></dt>
4826+
<dt><dfn data-dfn-for="JsonLdProcessor">expand()</dfn></dt>
48274827
<dd class="algorithm">
48284828
<p><a href="#expansion">Expands</a> the given <a data-lt="jsonldprocessor-expand-input">input</a>
48294829
according to the steps in the <a href="#expansion-algorithm">Expansion algorithm</a>:</p>
@@ -4919,7 +4919,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
49194919
</dl>
49204920
</dd>
49214921

4922-
<dt><dfn data-dfn-for="JsonLdProcessor">flatten</dfn></dt>
4922+
<dt><dfn data-dfn-for="JsonLdProcessor">flatten()</dfn></dt>
49234923
<dd class="algorithm">
49244924
<p><a href="#flattening">Flattens</a> the given <a data-lt="jsonldprocessor-flatten-input">input</a>
49254925
and <a>compacts</a> it using the passed <a data-lt="jsonldprocessor-flatten-context">context</a>
@@ -4928,7 +4928,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
49284928
<ol>
49294929
<li>Create a new <a>Promise</a> <var>promise</var> and return it.
49304930
The following steps are then executed asynchronously.</li>
4931-
<li>Set <var>expanded input</var> to the result of using the <a data-link-for="JsonLdProcessor">expand</a> method
4931+
<li>Set <var>expanded input</var> to the result of using the <a data-link-for="JsonLdProcessor">expand()</a> method
49324932
using <a data-lt="jsonldprocessor-flatten-input">input</a>
49334933
and <a data-lt="jsonldprocessor-flatten-options">options</a>
49344934
<span class="changed">with <a data-link-for="JsonldOptions">ordered</a> set to <code>false</code></span>,
@@ -4972,14 +4972,14 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
49724972
</dl>
49734973
</dd>
49744974

4975-
<dt><dfn data-dfn-for="JsonLdProcessor" class="changed">fromRdf</dfn></dt>
4975+
<dt><dfn data-dfn-for="JsonLdProcessor" class="changed">fromRdf()</dfn></dt>
49764976
<dd class="algorithm changed">
49774977
<p>Transforms the given <a data-lt="jsonldprocessor-fromRdf-input">input</a>
49784978
into a <a>JSON-LD document</a> in <a>expanded form</a>
49794979
according to the steps in the <a href="#serialize-rdf-as-json-ld-algorithm">Serialize RDF as JSON-LD Algorithm</a>:</p>
49804980

49814981
<p class="note">This interface does not define a means of creating an <a>RdfDataset</a>
4982-
from an arbitrary input, other than the <a data-link-for="JsonLdProcessor">toRdf</a> method.</p>
4982+
from an arbitrary input, other than the <a data-link-for="JsonLdProcessor">toRdf()</a> method.</p>
49834983

49844984
<ol>
49854985
<li>Create a new <a>Promise</a> <var>promise</var> and return it.
@@ -5018,7 +5018,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
50185018
</dl>
50195019
</dd>
50205020

5021-
<dt><dfn data-dfn-for="JsonLdProcessor" class="changed">toRdf</dfn></dt>
5021+
<dt><dfn data-dfn-for="JsonLdProcessor" class="changed">toRdf()</dfn></dt>
50225022
<dd class="algorithm changed">
50235023
<p>Transforms the given <a data-lt="jsonldprocessor-toRdf-input">input</a> into an <a>RdfDataset</a>
50245024
according to the steps in the <a href="#deserialize-json-ld-to-rdf-algorithm">Deserialize JSON-LD to RDF Algorithm</a>:</p>
@@ -5027,7 +5027,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
50275027
<li>Create a new <a>Promise</a> <var>promise</var> and return it.
50285028
The following steps are then executed asynchronously.</li>
50295029
<li>Set <var>expanded input</var> to the result of using the
5030-
<a data-link-for="JsonLdProcessor">expand</a> method
5030+
<a data-link-for="JsonLdProcessor">expand()</a> method
50315031
using <a data-lt="jsonldprocessor-toRdf-input">input</a>
50325032
and <a data-lt="jsonldprocessor-toRdf-options">options</a>
50335033
<span class="changed">with <a data-link-for="JsonldOptions">ordered</a> set to <code>false</code></span>,
@@ -5091,8 +5091,8 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
50915091
<h3>RDF Dataset Interfaces</h3>
50925092

50935093
<p>The <dfn>RdfDataset</dfn> interface describes operations on an <a>RDF dataset</a>
5094-
used by the <a data-link-for="JsonLdProcessor">fromRdf</a>
5095-
and <a data-link-for="JsonLdProcessor">toRdf</a> methods
5094+
used by the <a data-link-for="JsonLdProcessor">fromRdf()</a>
5095+
and <a data-link-for="JsonLdProcessor">toRdf()</a> methods
50965096
in the <a>JsonLdProcessor</a> interface.
50975097
The interface may be used for constructing a new <a>RDF dataset</a>,
50985098
which has a <a>default graph</a> accessible via the <a data-link-for="RdfDataset">defaultGraph</a> attribute.</p>
@@ -5109,7 +5109,7 @@ <h3>RDF Dataset Interfaces</h3>
51095109
<dl data-sort>
51105110
<dt><dfn data-dfn-for="RdfDataset">defaultGraph</dfn></dt>
51115111
<dd>Provides access to the <a>default graph</a> associated with the <a>RDF dataset</a>.</dd>
5112-
<dt><dfn data-dfn-for="RdfDataset">add</dfn></dt>
5112+
<dt><dfn data-dfn-for="RdfDataset">add()</dfn></dt>
51135113
<dd class="algorithm">
51145114
<p>Adds an <a>RdfGraph</a> and its associated <a>graph name</a> to the <a>RdfDataset</a>.
51155115
Used by the <a href="#deserialize-json-ld-to-rdf-algorithm">Deserialize JSON-LD to RDF Algorithm</a>.</p>
@@ -5133,8 +5133,8 @@ <h3>RDF Dataset Interfaces</h3>
51335133
and graph an <a>RdfGraph</a> instance.</dd>
51345134
</dl>
51355135

5136-
<p>The <dfn>RdfGraph</dfn> interface describes operations on an <a>RDF graph</a> used by the <a data-link-for="JsonLdProcessor">fromRdf</a>
5137-
and <a data-link-for="JsonLdProcessor">toRdf</a> methods
5136+
<p>The <dfn>RdfGraph</dfn> interface describes operations on an <a>RDF graph</a> used by the <a data-link-for="JsonLdProcessor">fromRdf()</a>
5137+
and <a data-link-for="JsonLdProcessor">toRdf()</a> methods
51385138
in the <a>JsonLdProcessor</a> interface.
51395139
The interface may be used for constructing a new <a>RDF graph</a>,
51405140
which is composed of zero or more <a>RdfTriple</a> instances.</p>
@@ -5148,7 +5148,7 @@ <h3>RDF Dataset Interfaces</h3>
51485148
</pre>
51495149

51505150
<dl data-sort>
5151-
<dt><dfn data-dfn-for="RdfGraph">add</dfn></dt>
5151+
<dt><dfn data-dfn-for="RdfGraph">add()</dfn></dt>
51525152
<dd class="algorithm">
51535153
<p>Adds an <a>RdfTriple</a> to the <a>RdfGraph</a>.
51545154
Used by the <a href="#deserialize-json-ld-to-rdf-algorithm">Deserialize JSON-LD to RDF Algorithm</a>.</p>

0 commit comments

Comments
 (0)