Code coverage report for lib/index.js

Statements: 100% (15 / 15)      Branches: 100% (0 / 0)      Functions: 100% (1 / 1)      Lines: 100% (15 / 15)      Ignored: none     

All files » lib/ » index.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24    1   1   1 1 1 1 1 1 1 1 1   1   1   1 1    
"use strict";
 
var PouchDB = require('./setup');
 
module.exports = PouchDB;
 
PouchDB.ajax = require('./deps/ajax/prequest');
PouchDB.utils = require('./utils');
PouchDB.Errors = require('./deps/errors');
PouchDB.replicate = require('./replicate').replicate;
PouchDB.sync = require('./sync');
PouchDB.version = require('./version');
var httpAdapter = require('./adapters/http');
PouchDB.adapter('http', httpAdapter);
PouchDB.adapter('https', httpAdapter);
 
PouchDB.plugin(require('./mapreduce'));
 
var adapters = require('./adapters');
 
Object.keys(adapters).forEach(function (adapterName) {
  PouchDB.adapter(adapterName, adapters[adapterName], true);
});