You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that prfun automatically loads es6-shim if there are no Promises defined, so what's happening here is that the native platform has a Promise definition, but it's buggy so es6-shim replaces it. prfun should use the same "are Promises buggy" test that es6-shim does, probably.
Note that you can workaround this as shown in the README:
var prfun = require('prfun/wrap');
require('es6-shim'); // optional
var Promise = prfun(globals.Promise);
See paulmillr/es6-shim#297
The text was updated successfully, but these errors were encountered: