On Tuesday, June 24, 2014 11:47:04 PM UTC-4, Joel Holdbrooks wrote: > On Wednesday, June 11, 2014 4:23:30 PM UTC-7, tal giat wrote: > > Can't seem to get those working with IE8/IE9. > > > > I've created a project on github to demonstrate that: > > https://github.com/talgiat/om-tutorial which is basically the very first > > example (Hello world) in the om tutorial. > > This version displays Hello world! in a web-page. > > It doesn't work in IE8 or IE9 even after adding the react IE shims > > (http://facebook.github.io/react/docs/working-with-the-browser.html#browser-support-and-polyfills) > > React itself DOES work on IE8 with those shims, as we have a production > > system that we wrote that uses it and works fine on all IE versions 8 and > > up. > > IE8 complains about goog.string.hashCode not existing. With more complex > > examples I've seen it complain about other methods in goog.string like > > contains. > > > > Not sure what causes the problem, but wanted to know did anyone encountered > > it before and what are possible solutions. > > > > We just started using clojurescript and Om for a major b2b web-based > > product we have here, unfortunately we must support IE8 and up since we > > have major customers using it. I'd really hate to revert back to > > JavaScript. > > > > Thanks > > Are you including all of the necessary shims and shams Facebook recommends to > get IE8 support? We've written two non-trivial Om applications that *must* > support IE8 and have done so with great success. > > One thing you definitely need to be aware of WRT IE8 is not exceeding the > number of instructions limit AKA "Slow Script" alert (which is easy to do > with ClojureScript). Make sure you test the application in IE8 heavily. My > recommendation is to use a VM or have a dedicated machine which you can use > to test the application. If your application is sufficiently complicated you > *will* run in to this and your users *will* too.
All shams are included based on the react page here: http://facebook.github.io/react/docs/working-with-the-browser.html#browser-support-and-polyfills Note that I've written production code with react that runs on IE8 with those shams. To clarify this example works, but I've posted another one from the tutorial that doesn't. See my reply to David. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
