(#3750) - fix typo in replication test This was a pretty dumb mistake, noticed by @jo here: https://github.com/pouchdb/pouchdb/commit/c2ef4055d3b227150f724f3314d309b759c21c10#commitcomment-10801263 The point of the test was to cause a stack overflow, which it did before #2543 was fixed, so in a sense the test was fine. But I think it's way less confusing now.
PouchDB was written to help web developers build applications that work as well offline as well as they do online, applications save data locally so the user can use all the features of an app even while offline and synchronise the data between clients so they have up to date data wherever they go.
PouchDB is a free open source project, written in Javascript by these wonderful contributors and inspired by Apache CouchDB.
To get started using PouchDB check out our Documentation and the API Documentation.
If you want to get involved then check out the contributing guide
var db = new PouchDB('dbname'); db.put({ _id: 'dave@gmail.com', name: 'David', age: 68 }); db.changes().on('change', function() { console.log('Ch-Ch-Changes'); }); db.replicate.to('http://example.com/mydb');