Open No9 opened 11 years ago
yes, this works with crdt, or any scuttlebutt subclass.
in the level-scuttlebutt
readme,
level_scuttlebutt(sbDb, udid, function (name) {
//create a scuttlebutt instance given a name.
//the key will match the start of the name.
return new Model() /***** or crdt, or any scuttlebutt ***/
//now is a good time to customize the scuttlebutt instance.
})
Right now it seems as thought this only works with ScuttleButt https://github.com/dominictarr/crdt/blob/master/doc.js#L6
It looks like it should be a matter of just allowing a scuttlebutt type to be passed to crdt.
Any thoughts?
Interested in this as a pull req?