The problem is that things like window.alert on IE, are weird built-in
things that aren't actually 'functions' in the javascript sense, in
that they don't have Function as their prototype, so clojurescript's
attempt to .call them fails. I think that this might actually be
permitted behaviour?
So, I'm not sure what the best solution is. As a quick workaround you
could probably write your own myalert function in javascript that just
calls window.alert, and include it at the top of your page -
clojurescript will be able to call js/myalert.
Perhaps clojurescript should have some sort of workaround for making
these built-ins work on IE... Any ideas?
--
Dave