Hi there,

I've noticed a practice in adding a script tags for both aspects of google 
closure's compile phase and also using the goog.require construct. For example:

<script src="out/goog/base.js" type="text/javascript"></script>
<script src="om_tut.js" type="text/javascript"></script>
<script type="text/javascript">goog.require("om_tut.core");</script>

It was my (clearly naive) understanding that google closure generated one js 
file which you needed to pull into your html. In the above example it's 
om_tut.js. I was wondering why the other two lines were necessary and what they 
actually did...

Sam

---
http://sam.aaron.name

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