The issue is that advanced compilation produces a single artifact. David
On Sun, Feb 23, 2014 at 8:22 PM, boz <b...@cox.net> wrote: > I'm having trouble with the Om basic tutorial Higher Order > Components<https://github.com/swannodette/om/wiki/Basic-Tutorial#wiki-higher-order-components> > using > emacs and a slightly modified version of > https://github.com/magomimmo/om-start-template that points to Om 0.5.0 > and React 0.9.0. > My version is https://github.com/christoferjennings/om-start-template > > The template doesn't have the goog/base.js out of the box. When I add it, > I get a "Uncaught ReferenceError: goog is not defined" (Chrome Version > 33.0.1750.117) > > Here's the final html (basically the same as in the tutorial. > <html> > <body> > <div id="registry"></div> > <script src="http://fb.me/react-0.9.0.js"></script> > <script src="out/goog/base.js" type="text/javascript"></script> > <script src="my-stuff.js" type="text/javascript"></script> > <script > type="text/javascript">goog.require("my-stuff.core");</script> > </body> > </html> > > There is no "out/goog/base.js", so I'm not too surprised goog is > undefined. I'm stumped, though, because I don't know if the goog stuff > that ends up in the .repl folder should be enough, or if I have to do > something special to get the goog stuff to be in the out folder. I've tried > "lein cljsbuild once" without luck. > > Any ideas on what I'm doing wrong? > > Thanks! > > > > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.