Yeah don't think I need the array
On Apr 8, 2014 5:07 PM, "Nolan Lawson" <notifications@github.com> wrote:

> In lib/adapters/leveldb.js:
>
> >    api._get = function (id, opts, callback) {
> >      opts = utils.extend(true, {}, opts);
> > +    var docChanged = [];
>
> It's a little confusing to use an array for docChanged and then a single
> value for updated later. It's the same effect (last one wins), so
> couldn't you just use a single value in both places?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/pouchdb/pouchdb/pull/1734/files#r11411759>
> .
>