Map in animate.min.js
forresto opened this issue · 3 comments
forresto commented
How do you compile animate.min.js? It looks like it is compiling some ES6 stuff like const
, but not Map
, which is causing some sad browsers to be sad.
bendc commented
Hello! Which browsers are causing you Map
issues?
forresto commented
Android 4.something...
bendc commented
Hm yeah, Animate Plus focuses on modern browsers (read IE10+ and alike). I'd suggest aggressively dropping dying browsers but if you really want to compile it yourself, you can just use Babel and modify its _slicedToArray
and _toConsumableArray
functions like this (_slicedToArray
is basically useless).