Skip to content

Commit 82f693d

Browse files
Kibubuangelo-v
authored andcommitted
Fix typo in example code
1 parent 69fad70 commit 82f693d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/webapp-intro.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h4>Using the Store with Turtle</h4>
142142
<p>We can similarly generate a turtle text from the store. Serialize is the function. You pass it the document (as a NamedNode) we are talking about, and it will just select the triples from that document to be output.</p>
143143

144144
<pre>
145-
<code class="language-javascript">console.log($rdf.serialize(doc, store, aclDoc.uri, 'text/turtle'));
145+
<code class="language-javascript">console.log($rdf.serialize(doc, store, doc.uri, 'text/turtle'));
146146
</code></pre>
147147

148148
<p>If you omit the document parameter to serialize, or pass null, then you will get all the triples in the store. This may, if you have used a Fetcher, possibly metadata which the fetcher has stored about the HTTP requests it made in fetching your documents. Which might be interesting... but not what you were expecting.</p>

0 commit comments

Comments
 (0)