Create a gist now

Instantly share code, notes, and snippets.

pouchdb in javascript
var db,
cb = function(err,database){
if(err){
console.error("Bad Stuff happend");
}else{
console.log("good news!")
db=database;
}
};
Pouch("http://url.to.couchdb/dbname",cb);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment