phoenixframework / phoenix_live_reload

Provides live-reload functionality for Phoenix
MIT License
317 stars 90 forks source link

IE11 compatibility for live-reloading JS #73

Closed damncabbage closed 6 years ago

damncabbage commented 6 years ago

Uses link.parentNode.removeChild(link) (instead of link.remove()) in phoenix_live_reload.js for the sake of IE11 compatibility.

(See https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove for more information, a browser compatibility chart, and a reference for the polyfill I'm aping.)

josevalim commented 6 years ago

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart: