Skip to content

Instantly share code, notes, and snippets.

View ingorammer's full-sized avatar

Ingo Rammer ingorammer

View GitHub Profile
@ingorammer
ingorammer / .block
Last active May 27, 2016 11:22 — forked from mbostock/.block
Collision Detection
license: gpl-3.0
@ingorammer
ingorammer / continuous_replication.txt
Created January 1, 2014 13:31
(Addendum to https://github.com/daleharvey/pouchdb/issues/1201) I've created this gist to detail some PouchDB Local->Remote issues which I've noticed with continuous replication when resolving conflicts (i.e. when remove()-ing the conflicting revisions after performing some app-specific conflict resolution magic).
For continuous replication, the following POSTs are sent to _revs_diff and _bulk_docs:
POST to _revs_diff:
{
"foo": ["3-c"]
}
RESPONSE: