On Tue, Jan 7, 2014 at 1:16 AM, vladislav p <[email protected]> wrote:
> 1) My application with Om/Clojurescript compiles and runs if I specifiy > optimization: none: or simple:. However if I specifiy advanced, the web > page does not work and I cannot see any errors with Opera's Dragonfly > debugger. > Is :advanced mode supported with Om? > It is supported. Have you tried to see if Firefox or Chrome show any errors? > 2) As soon as add the Dojo dgrid into the required section, my programs > stops working (but no errors either during the ocmpile or on Dragonfly) > I don't know anything about Dojo dgrid so I can't say. I'm surprised there aren't errors if this is the case. > I had an intersting error early on, when my Clojurescript namespace was > named 'app', and a therewas a <div> in index.html with id="app" > That created a silent error. That took me a while to figure out. > > If there is a similar 'namespace conflict' somewhere betweein > om/clojurescript and dgrid/dojo I will not be able to figure this out > I find it highly unlikely that a CSS id would conflict with an ClojureScript namespace. If you can make a minimal reproducible case of only this that would be helpful. > My question, is use of Om (and therefore react) compatible with libraries > such as dojo in the sense that they can be used in one single-page app ? > And if yes, does anybody have, perhaps an example of such use in > particular with dojo or dgrid. It should just work. If you have the time please put together the simplest Dojo integration setup that does not work for you and put it up somewhere (Github) and I can take a look at it. Thanks. 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.
