It works now. Thanks.



But what is this “resources” folder?

Is it hard-coded in the cljs compiler? Where is it documented?

On Wed, Aug 6, 2014 at 2:35 PM, Daniel Kersten <dkers...@gmail.com> wrote:

> I believe it needs to be on the classpath. For example, I put my js files
> in resources/assets (where resources is in the same directory as
> project.clj) and I use preamble like this:
> :compiler {
>   :preamble ["assets/js/myfile.js"]
>   ; other compiler options
> }
> On 6 August 2014 11:56, Yehonathan Sharvit <vie...@gmail.com> wrote:
>> I am not able to make it work. Where should I put the file? In the same
>> folder as project.clj?
>>
>>
>> On Wed, Jul 30, 2014 at 6:54 PM, Daniel Kersten <dkers...@gmail.com>
>> wrote:
>>
>>>  You could use :preamble to prepend a file to the generated output.
>>>
>>>
>>> On 30 July 2014 15:37, Yehonathan Sharvit <vie...@gmail.com> wrote:
>>>
>>>>
>>>> How to insert a comment in the generated javascript file?
>>>>
>>>> 1. In simple compilation mode
>>>> 2. In advanced compilation mode
>>>>
>>>>
>>>> --
>>>> 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 clojurescript+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to clojurescript@googlegroups.com.
>>>> 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 a topic in the
>>> Google Groups "ClojureScript" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/clojurescript/Zc0bSoA5LA4/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> clojurescript+unsubscr...@googlegroups.com.
>>>
>>> To post to this group, send email to clojurescript@googlegroups.com.
>>> 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 clojurescript+unsubscr...@googlegroups.com.
>> To post to this group, send email to clojurescript@googlegroups.com.
>> 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 a topic in the Google 
> Groups "ClojureScript" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/clojurescript/Zc0bSoA5LA4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> 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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to