michielbdejong/solid-ui

View on GitHub
src/store.js

Summary

Maintainability
A
0 mins
Test Coverage
// This module of solid-ui has a main quadstore for the app to use
//

var rdf = require('rdflib')
var store = (module.exports = rdf.graph()) // Make a Quad store
rdf.fetcher(store) // Attach a web I/O module, store.fetcher
store.updater = new rdf.UpdateManager(store) // Add real-time live updates store.updater

console.log('Unique quadstore initialized.')

// ends