Skip to content

Commit d732179

Browse files
author
Tim Berners-Lee
committed
Merge branch 'master' of https://github.com/linkeddata/rdflib.js
sigh
2 parents 6e1ec43 + e1187cd commit d732179

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "rdflib",
33
"description": "an RDF library for node.js. Suitable for client and server side.",
4-
"version": "1.0.3",
4+
"version": "1.0.4",
55
"engines": {
66
"node": ">=6.0"
77
},

src/update-manager.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import IndexedFormula from './store'
88
import { docpart } from './uri'
99
import Fetcher from './fetcher'
10-
import { namedNode } from './data-factory'
10+
import DataFactory from './data-factory'
1111
import Namespace from './namespace'
1212
import Serializer from './serializer'
1313
import { join as uriJoin } from './uri'
@@ -81,8 +81,8 @@ export default class UpdateManager {
8181
if (uri.slice(0, 8) === 'file:///') {
8282
if (kb.holds(
8383
kb.sym(uri),
84-
namedNode('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'),
85-
namedNode('http://www.w3.org/2007/ont/link#MachineEditableDocument'))) {
84+
DataFactory.namedNode('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'),
85+
DataFactory.namedNode('http://www.w3.org/2007/ont/link#MachineEditableDocument'))) {
8686
return 'LOCALFILE'
8787
}
8888

src/updates-via.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Updates-Via
33
*/
4-
import { namedNode } from './data-factory'
4+
import DataFactory from './data-factory'
55

66
export class UpdatesSocket {
77
constructor (parent, via) {
@@ -131,7 +131,7 @@ export class UpdatesVia {
131131
return true
132132
}
133133
onUpdate (uri, d) {
134-
return this.fetcher.refresh(namedNode(uri))
134+
return this.fetcher.refresh(DataFactory.namedNode(uri))
135135
}
136136
register (via, uri) {
137137
if (this.via[via] == null) {

0 commit comments

Comments
 (0)