seiyable / vue-simple-svg

A simple Vue.js plugin that allows you to load a SVG image as an inline SVG with an access to change its fill colors
MIT License
80 stars 23 forks source link

Browser support #3

Open LarsDol opened 6 years ago

LarsDol commented 6 years ago

Hi! Nice little plugin you've got here!

I've been using it in a project, though when I started testing different legacy browsers (IE9-11) I came across some errors. It might be nice to add some support for these, or list the intended browser support in the readme.

Some issues I came across:

I might be able to fix these in a pull request later on, but for now it's just an FYI :)

Thanks!

seiyable commented 6 years ago

Hi LarsDol! Thanks for reporting the issue. I'll look into it as soon as I get a chance!

seiyable commented 6 years ago

Realized I don't have testing environment for IE browsers. I'd appreciate if you can fix and test it!

LarsDol commented 6 years ago

https://github.com/seiyable/vue-simple-svg/pull/8 - I've turned the regex into a string. Might get to the classList issue later.