We could, but then we'd have to make the official Q a dependency. Is that
alright?


On Mon, Jul 29, 2013 at 4:17 PM, Nick Santos <notifications@github.com>wrote:

> In kew.js:
>
> > @@ -275,6 +275,21 @@ Promise.prototype.makeNodeResolver = function () {
> >  }
> >
> >  /**
> > + * Return true iff the given object is a promise
> > + *
> > + * @param {Object} obj The object to test
> > + * @return {boolean} Whether the object is a promise
> > + */
> > +function isPromise(obj) {
> > +  var isKewPromise = obj._isPromise
> > +  // Taken from the official Q.isPromise
>
> is there a reason we don't use the official Q.isPromise, rather than
> copying-and-pasting it?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Obvious/kew/pull/14/files#r5464773>
> .
>