Skip to content
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

Using polyfill to make slot machine work with IE #46

Open
stefan-korn opened this issue May 28, 2018 · 1 comment
Open

Using polyfill to make slot machine work with IE #46

stefan-korn opened this issue May 28, 2018 · 1 comment

Comments

@stefan-korn
Copy link

I have noticed that slot machine does not work with IE.

So while I personally feel this is totally ok, because IE is such bad stuff that has hampered web dev for such a long time, there might be cases where IE compatibility maybe important for a project. I am working on such a project recently ...

So I found that using Babel Polyfill (https://babeljs.io/docs/usage/polyfill/) makes slot machine work with IE (tested in IE11 at least).

So maybe this might be worth a hint in the readme.

@josex2r
Copy link
Owner

josex2r commented Jun 19, 2018

Hello @stefan-korn.
I forgot what is IE a few years ago XD

Just kidding... To solve this I recommend you to build the source files located in the npm package (lib/ directory). Just add the main file (lib/index.js) to your pipeline (Webpack, Gulp, ...) adding the babel preset to be able to import it in your application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants