Skip to content

Commit 7ad9191

Browse files
Update README.md
1 parent 9492e22 commit 7ad9191

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ You can use this library in two ways.
1616

1717
### With a rdf library
1818

19-
If a rdf library is provided then the map of namespaces given will be the result of calling `rdf.namedNode` on the namespace urls.
19+
If a rdf library is provided then the map of namespaces given will be the result of calling `$rdf.namedNode` on the namespace urls.
2020

2121
```js
22-
const rdf = require('rdflib');
23-
const ns = require('solid-namespace')(rdf);
22+
const $rdf = require('rdflib');
23+
const ns = require('solid-namespace')($rdf);
2424
const store = $rdf.graph();
2525

2626
let me = ...;

0 commit comments

Comments
 (0)