Re: Promise.resolve() and jQuery deferreds

2014-10-03 Thread C. Scott Ananian
On Fri, Oct 3, 2014 at 9:21 AM, Axel Rauschmayer wrote: > AFAICT, `Promise.resolve()` is enough to convert jQuery deferreds to the ES6 > API. Correct? AFAIK `Promise.resolve()` should be enough to turn any thenable into a promise. And when you subclass, `SubPromise.resolve(p)` should be enough t

Promise.resolve() and jQuery deferreds

2014-10-03 Thread Axel Rauschmayer
AFAICT, `Promise.resolve()` is enough to convert jQuery deferreds to the ES6 API. Correct? Thanks! Axel -- Dr. Axel Rauschmayer a...@rauschma.de rauschma.de ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-di