simplerdf / simplerdf

:ok_hand: The future simplest RDF library ever
http://npm.im/simplerdf
67 stars 8 forks source link

check default SimpleRDF store #31

Closed nicola closed 8 years ago

nicola commented 8 years ago

The idea is the following:

If I am using ALWAYS a different store than LDP, then at this stage, it would be much nicer for me to just say SimpleRDF() without doing this super duper ugly thing SimpleRDF(null, null, null, store)

So, if we set it

SimpleRDF.store = new FSStore()

Then, it should work anywhere !

bergos commented 8 years ago

I expect with new feature we will need an options parameter in the constructor. Maybe it's a good idea to use a .defaults method like it's done in the request package.

nicola commented 8 years ago

I like the default parameter.