Yeah if we want to handle the readonly puts and batch changes in other plus
the +1 the squash and merge.
On Apr 23, 2014 5:42 PM, "Dale Harvey" <notifications@github.com> wrote:

> In lib/replicate.js:
>
> >        }
> >        result.last_seq = last_seq = currentBatch.seq;
> > -      utils.call(opts.onChange, null, result);
> > +      currentBatch.docs.forEach(function () {
> > +        result.docs_written++;
> > +        returnValue.emit('change', utils.clone(result));
>
> However I am completely fine with doing the batch work in a follow up, not
> adding extra work to this patch is a good thing
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pouchdb/pouchdb/pull/1963/files#r11925446>
> .
>