PButcher / flipdown

⏰ A lightweight and performant flip styled countdown clock
https://pbutcher.uk/flipdown/
MIT License
390 stars 124 forks source link

Doesn't work on IE 11 #9

Closed pdrhlik closed 5 years ago

pdrhlik commented 5 years ago

I haven't tested it but it probably doesn't work on lower versions as well. This is because IE doesn't support Array.from. I was able to make it work using this quick workaround I found on SO: https://stackoverflow.com/questions/36810940/array-from-on-the-internet-explorer.

PButcher commented 5 years ago

Would you be able to test the hotfix I just made (#10) in IE11 please?

New dist available here: https://github.com/PButcher/flipdown/tree/array-from-hotfix/dist

Thanks.

pdrhlik commented 5 years ago

I tested it on IE 11 and it works, great! The animation on IE is a bit sloppy though but I wouldn't worry about it too much. It's not that noticeable.

Thanks for the fix!

PButcher commented 5 years ago

No worries, thanks for reporting!