KitchenStories / vue-gallery-slideshow

🖼 Lightweight and responsive image gallery for Vue.js
MIT License
169 stars 49 forks source link

this component can’t run in IE11 and safari5.1? #2

Closed leeycode closed 6 years ago

normansander commented 6 years ago

That may be. I’ll check and fix this asap, thanks!

jonathan-neugber commented 6 years ago

Can confirm this as I am having the same issue right now.

It occurs because IE11 does not support shorthand functions like:

{
  mounted() {},
  watch() {},
}

So it needs to be transpiled for ES5 support.

normansander commented 6 years ago

Oh right, I forgot to add babel again after a rollup update. I’ll fix this asap when I’m back from my current roadtrip. Thanks for finding out!

normansander commented 6 years ago

i just released a hotfix version 1.2.4 with included babel build. i would see this issue as fixed. let me know if problems still occur. cheers 🍻

spiritinlife commented 3 years ago

@headione This seems to be an issue again. If you see in the dist script there is a => use https://github.com/KitchenStories/vue-gallery-slideshow/blob/caf6ad7739b953de2066c2b33e5de65d27d0b8a4/dist/js/vue-gallery-slideshow.js#L303 which is not es5 compatible.