Skip to content

Instantly share code, notes, and snippets.

@juliangruber
Created April 8, 2013 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliangruber/5336165 to your computer and use it in GitHub Desktop.
Save juliangruber/5336165 to your computer and use it in GitHub Desktop.
var crdtDB = db.sublevel('crdt');
levelScuttlebutt(crdtDB, udid, function (name) {
return new Doc();
});
@juliangruber
Copy link
Author

throw new Error('expected Scuttlebutt')

@juliangruber
Copy link
Author

var Doc = require('crdt').Doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment