kbrsh / moon

🌙 The minimal & fast library for functional user interfaces
https://moonjs.org
MIT License
5.99k stars 200 forks source link

Remove Support for `xlink:href` #90

Open kbrsh opened 7 years ago

kbrsh commented 7 years ago

The xlink:href attribute has been deprecated for a while now (since SVG 2), and can be replaced with href for most modern browsers. It should be removed with the next minor or major release.

Source (MDN)

leeoniya commented 7 years ago

fyi, u might want to skim this recent discussion: https://github.com/hyperapp/hyperapp/pull/211

while ie9/10 are good and dead, safari 9 is still somewhat alive :(

kbrsh commented 7 years ago

Haha thanks, that's the main reason I found out about the depreciation. I'm just going to keep this open until people stop using Safari 9.

bmix commented 5 years ago

And what about all that legacy SVG code?