Jassa-Core icon indicating copy to clipboard operation
Jassa-Core copied to clipboard

Promise.method is non standard and breaks browser compatibility

Open xkb opened this issue 11 years ago • 3 comments

Hello,

The method function being used to wrap functions isn't actually available on standard Promise objects in browsers which really makes Bluebird a required dependency. The Promises/A+ standard doesn't specificy it and I know this is pretty tedious since it can be easily prototyped but it's something worth mentioning.

Thanks and awesome library!

xkb avatar Sep 14 '14 18:09 xkb

@Aklakan Maybe it would be useful to use Native ECMA6 Promises for development to insure dependence from Bluebird?

leipert avatar Sep 19 '14 12:09 leipert

https://www.npmjs.org/package/promise

leipert avatar Sep 19 '14 13:09 leipert

Hi, I also noticed the problem with Promise.method - but wanted to delay a solution until the original jassa code has been fully ported (only a few features of the facete module are missing)

Aklakan avatar Sep 19 '14 15:09 Aklakan