Re: [ClojureScript] Re: Script tags in Html for different environments

2014-07-29 Thread Udayakumar Rayala
Thanks everyone for the replies. It is really useful to hear your thoughts. I am summarizing the options and my thoughts around them: - https://github.com/thheller/shadow-build I havent looked into this. I will check and see if it solves my use case. - Enlive to override the index.html in

[ClojureScript] Script tags in Html for different environments

2014-07-28 Thread Udayakumar Rayala
Hi, I am working on a Clojurescript app which does not have a server instead everything is done in Clojurescript. The html generated javascript files are then served from S3 as a static website. Locally, I want to use figwheel for development which requires to compile code with optimisation

[ClojureScript] Does devcards reload when data changes?

2014-07-26 Thread Udayakumar Rayala
I have asked the question in devcards issues but asking here if someone knows. https://github.com/bhauman/devcards/issues/15 I see that om-root-card does not reload the card when data is changed. For example, if I change text to yep it is not, it does not automatically reload unless the page

Re: [ClojureScript] web development server

2014-07-26 Thread Udayakumar Rayala
I used to use python SimpleHttpServer to start a simple static http server in the resources/public directory: python -m SimpleHTTPServer 9000 But I have started to use Figwheel[1] and Devcards[2] lately. [1] https://github.com/bhauman/lein-figwheel [2] https://github.com/bhauman/devcards -

[ClojureScript] Re: Om - Render multiple html elements

2014-07-20 Thread Udayakumar Rayala
rarely have to add a dummy wrapping div or span. It always end up with a css class or click handler On Friday, July 18, 2014 5:33:56 AM UTC+2, Udayakumar Rayala wrote: Hi, Can I return an array of html elements from an om/component? (defn widget [app-state] (om