pouchdb/pouchdb — pull request #2322 by nolanlawson (2014-05-30 17:27:58+00:00)
Title: (#2054) - implement PouchDB.defaults

This also fixes several bugs in how opts.db
is used in leveldb.js, namely:

1. opts.db only worked in the browser, not Node
2. the leveldown object was overriden globally
3. databases with the same names but different backends collided