Re: ClojureScript in IE 9 (does it work?)

2012-01-20 Thread gchristnsn
Thanks for the suggestions, I have created a wrapper function and it works, but it seems, there are more problems. I use reader/read-string function to parse clojure data structures sent as POST messages, and it doesn't recognize keywords in IE. For example, it treats {:status :ok} as

Re: ClojureScript in IE 9 (does it work?)

2012-01-20 Thread gchristnsn
I just have tried to replace all special characters in core.js to their escaped equivalents (\uFDD0 for keywords) and it works fine. But I still not certain where this bug comes from. On Jan 20, 12:56 pm, gchristnsn gchrist...@gmail.com wrote: Thanks for the suggestions, I have created a wrapper

Re: ClojureScript in IE 9 (does it work?)

2012-01-20 Thread David Nolen
It would be helpful if you could investigate the precise problem if there is one and submit a JIRA ticket. On Friday, January 20, 2012, gchristnsn gchrist...@gmail.com wrote: Thanks for the suggestions, I have created a wrapper function and it works, but it seems, there are more problems. I

Re: ClojureScript in IE 9 (does it work?)

2012-01-16 Thread David Powell
On Mon, Jan 16, 2012 at 7:59 AM, gchristnsn gchrist...@gmail.com wrote: I can't even call `(js/alert test)' in IE 9, it compiles into: alert.call(null,test); and says: Invalid calling object (IE 9 standards mode, in IE 8 standards mode it doesn't recognize the `call' method) I need `alert'

Re: ClojureScript in IE 9 (does it work?)

2012-01-16 Thread ckirkendall
I ran into the same thing with .setTimeout in enfocus. I moved to using the wrapper function inside the goog library. In the case of .setTimeout I used goog.async.Delay and for alert maybe you could use goog.ui.dialog. http://closure-library.googlecode.com/svn/docs/class_goog_ui_Dialog.html

ClojureScript in IE 9 (does it work?)

2012-01-15 Thread gchristnsn
I can't even call `(js/alert test)' in IE 9, it compiles into: alert.call(null,test); and says: Invalid calling object (IE 9 standards mode, in IE 8 standards mode it doesn't recognize the `call' method) I need `alert' to debug some other glitch which arises in IE 9 (but all works fine in other