That's odd, it should definitely be possible to do - I've done it before.
Did you include the scripts something like this (from the dom example):
<script type="text/javascript" src="out/goog/base.js"></script>
<script type="text/javascript" src="dom.js"></script>
<script type="text/javascript">
goog.require('dom.test');
</script>
Jonathan
On Wed, May 8, 2013 at 2:30 AM, Timothy Washington <[email protected]>wrote:
> That fixed one of the dependency problems. But now there are a bunch of
> other dependency errors. AndI'm not sure if I have to independently include
> all the library generated .js files. It looks like you have no choice but
> to glom your .js code into main.js. Hmmm.
>
>
> 1. Uncaught ReferenceError: goog is not defined
> http_rpc.js:1<http://localhost:8080/javascript/shoreleave/remotes/http_rpc.js>
>
>
> 1. Uncaught ReferenceError: shoreleave is not defined
> edgar.js:1<http://localhost:8080/javascript/edgar.js>
>
> Tim
>
>
> On Tue, May 7, 2013 at 5:26 PM, Jonathan Fischer Friberg <
> [email protected]> wrote:
>
>> You have to import the google closure library when compiling without
>> optimisation.
>>
>> Given your build, probably something like this:
>>
>> <script type="text/javascript"
>> src="public/javascript/goog/base.js"></script>
>>
>> Just make sure the base.js file is actually there.
>>
>> Jonathan
>>
>> --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected].
> 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 [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.