File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 77import IndexedFormula from './store'
88import { docpart } from './uri'
99import Fetcher from './fetcher'
10- import { namedNode } from './data-factory'
10+ import DataFactory from './data-factory'
1111import Namespace from './namespace'
1212import Serializer from './serializer'
1313import { 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
Original file line number Diff line number Diff line change 11/*
22 * Updates-Via
33 */
4- import { namedNode } from './data-factory'
4+ import DataFactory from './data-factory'
55
66export 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 ) {
You can’t perform that action at this time.
0 commit comments