-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid loading Promise polyfill in modern browsers. #59
Comments
Just bumped into this issue when I was trying to debug I work in a browser with no |
Yeah, I wish there were a simple solution. Open to (compatible) suggestions. |
I'd suggest to build without polyfills and let users use their own if they need it. Just add to |
The main point of this library is to be as compatible as possible with old browsers while the new API is rolling out. I don't feel comfortable removing compatibility with IE by default, although I'm okay with users opting out of the polyfill. |
99de811 is not super-clean, but it passes the type checks and avoids using I would prefer not to support multiple builds unless there are specific concerns about build size, so hopefully this will do for now. |
Changes: - Avoid using Promise polyfill in modern browsers. #59
Changes: Fix extra reference to Promise polyfill. #59
Changes: Fix extra reference to Promise polyfill. #59
It's only needed on IE. :-/
Instead of pretty native
Promise
, I see the polyfill even in Chrome right now.The text was updated successfully, but these errors were encountered: