Skip to content
Browse files

Change prefix to _pouch_ for better readability

  • Loading branch information...
1 parent a90efbc commit 7dc9c264220e301dac85c1b6b7a1d472a6d8240f @benrudolph benrudolph committed with daleharvey Apr 7, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 docs/api.md
  2. +1 −1 src/pouch.js
View
2 docs/api.md
@@ -49,7 +49,7 @@ Retrieves all databases from PouchDB. (Adapter prefix of database is included if
This method gets an existing database if one exists or creates a new one if one does not exist. You may also explicitly specify which backend you want to use for local database (e.g. `idb://dbname` or `leveldb://dbname`) but usually it is convenient to let PouchDB choose the best backend by itself.
-Note: Pouch reserves the prefix '_pouch' for the creation of local databases -- all local databases will automatically be preprended with '_pouch'.
+Note: Pouch reserves the prefix '_pouch_' for the creation of local databases -- all local databases will automatically be preprended with '_pouch_'.
var pouchdb = Pouch('test');
View
2 src/pouch.js
@@ -81,7 +81,7 @@ Pouch.DEBUG = false;
Pouch.adapters = {};
Pouch.plugins = {};
-Pouch.prefix = '_pouch';
+Pouch.prefix = '_pouch_';
Pouch.parseAdapter = function(name) {
var match = name.match(/([a-z\-]*):\/\/(.*)/);

0 comments on commit 7dc9c26

Please sign in to comment.
Something went wrong with that request. Please try again.