-
Notifications
You must be signed in to change notification settings - Fork 59
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
Not working in IE11 #113
Comments
looks like a bug to me: require calls should not be there. I guess we need to resolve the polyfills and inline them. The question is only if then the |
Thanks for looking into this :) |
your suggestion is to don't inline any polyfills at all? Mh, yeah might be a solution. The idea was basically (if I remember correctly) that the umd module is used by older browsers, which includes them by default. In the es2015 model (which is used by modern browsers) they are loaded only if needed. Wouldn't that make sense? |
From what I can see in "caniuse.com", browsers compatible with ES6 also supports fetch and url, so it looks like polyfills won't be needed in the es2015. |
true, that's why there is the check for |
As discussed, the polyfills should now be excluded and the require call should not happen anymore. |
Hello,
The library is not working in IE11, https://janhommes.github.io/o.js/example/ fails with a "require is not defined" here:
Is the incompatibility intended? Thanks!
The text was updated successfully, but these errors were encountered: