Thanks for the tip, Mimmo!
On Sunday, January 27, 2013 11:33:46 PM UTC+1, Mimmo Cosenza wrote:
>
> Hi Marcus, I found the same solution Evan suggested to you. You can read
> about it here.
>
> https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-06.md
>
> and you can also define a s
Hi Marcus, I found the same solution Evan suggested to you. You can read about
it here.
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-06.md
and you can also define a single init function which is shared by each source
cljs files by passing it the parameters you need to setup
Thanks Evan!
I actually already started along this big js blob path and was just
beginning to see the problem with clashing page inits. Your solution with
an init func per page will probably do just fine for me too so I'll try
that now. With conditional caching on the big js file, it should only
I solved this problem for my web app in a different way, which might be
worth considering. My entire ClojureScript project compiles to a single JS
file which is used by every single page. I organized things such that each
page had a cljs namespace associated with it, which has an "init" functi