It uses bluebird for node and uses browserify to switch it out for lie in
the browser
On Apr 2, 2014 4:49 PM, "Nolan Lawson" <notifications@github.com> wrote:

> In upsert.js:
>
> > @@ -0,0 +1,44 @@
> > +'use strict';
> > +var Promise = typeof global.Promise === 'function' ? global.Promise : require('bluebird');
>
> Wait, so PouchDB is using bluebird now? constructor.js has var Promise =
> typeof global.Promise === 'function' ? global.Promise : require('bluebird');
> .
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/pouchdb/mapreduce/pull/77/files#r11226883>
> .
>