The Om README covers correct configuration for advanced compilation.

On Mon, Mar 17, 2014 at 5:27 AM, Mohammad Sadeq Khoeini
<[email protected]>wrote:

> I've had a similar problem with om. Even with the basic tutorial on their
> site.
>
> To reproduce the error it's enough to create the tutorial:
>     lein new mies-om om-tut
>
> And then activate advanced optimizing. Then browser will give the error:
> "Uncaught TypeError: Cannot read property 'input' of undefined"
>
> To resolve the issue it's enough to add the react.js to the :externs
> section of the configure like this one:
> https://github.com/vladp/cljs_om_dojo/blob/master/project.clj
>
> I intend to create an issue about this on the om repository.
>
> --
> 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.
>

-- 
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.

Reply via email to