crowdbotics / v-img

https://v-img.review/
MIT License
415 stars 68 forks source link

group not work in IE11 #55

Open bogdand92 opened 6 years ago

bogdand92 commented 6 years ago

Hi, can you fix this? [...document.querySelectorAll('img[data-vue-img-group="${el.dataset.vueImgGroup}"]')] In this place an invalid transformation NodeList to array. Babel transpile this code using Array.from that is unavailable in IE. Maybe try something like this [].slice.call(document.querySelectorAll('img[data-vue-img-group="${el.dataset.vueImgGroup}"]')) ? Thx

OleksiiBrylin commented 5 years ago

This https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.26.0/polyfill.min.js polyfill solved this issue for IE11