plumatic / dommy

A tiny ClojureScript DOM manipulation and event library
758 stars 74 forks source link

template.cljs extends prototypes that don't exist in IE8 #57

Closed djpowell closed 10 years ago

djpowell commented 10 years ago

Is IE8 intended to be supported?

In IE8, js/Document doesn't exist (it uses js/HTMLDocument instead). Also things like js/SVGElement don't exist, which causes extend-protocol to throw a null pointer exception. The fix to #28 probably exacerbated this.

Would you be interested in a patch to test for the existence of some of these types before attempting to extend them?

aria42 commented 10 years ago

Please. We'd very much appreciate such a PR.