Skip to content

Instantly share code, notes, and snippets.

@ronycohen
Created July 20, 2015 17:20
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 ronycohen/2cc2192ca5d4c2fffcb3 to your computer and use it in GitHub Desktop.
Save ronycohen/2cc2192ca5d4c2fffcb3 to your computer and use it in GitHub Desktop.
var stream = window.memorystream;
PouchDB.plugin(replicationStream.plugin); //error here.
console.debug("stream",stream);
$q.all([
pouch.localDB.load(stream), //error here
pouch.remoteDB.dump(stream) // error here
]).then(function (res) {
console.log('stream Hooray the stream replication is complete!', res);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment