Re: [ClojureScript] Improving cljs.closure :none vs other

2014-02-13 Thread Thomas Heller
On Tuesday, February 11, 2014 12:20:53 PM UTC+1, dead...@gmail.com wrote: Hello Thomas, sorry for bringing up this old topic, but having endured hours of frustration while trying to configure a build as a recent clojurescript adopter, I got curious how you are using closure JSModules?

[ClojureScript] cljs-http with CORS problem...

2014-02-13 Thread Thomas
Hi Everyone, I am trying to build a little cljs app and I want to call a REST API that potentially will run on a different machine (testing with localhost at the moment). I am using the cljs-http library which seems to be quite easy to use. But I get the following error when I do a GET call:

Re: [ClojureScript] cljs-http with CORS problem...

2014-02-13 Thread Julien Eluard
Hi, make sure the web server you are interacting with sets the right CORS headers in the response. If you control it you can find more info here: http://enable-cors.org/server.html Julien Le 13 févr. 2014 à 18:40, Thomas th.vanderv...@gmail.com a écrit : Hi Everyone, I am trying to build

[ClojureScript] Strange core.async/partition behaviour.

2014-02-13 Thread Nick Ogden
Is anyone able to explain the following behaviour? Give the code: (def results (chan 3)) (def repeater (mapcat #(vec (take 3 (repeat %))) results 3)) ;(close! rep-test-chan) (go-loop [] (prn (! (partition 3 results))) (recur)) (put! repeater :something) I'd expect an output of [:something

Re: [ClojureScript] cljs-http with CORS problem...

2014-02-13 Thread Don Jackson
On Feb 13, 2014, at 1:57 PM, Julien Eluard julien.elu...@gmail.com wrote: make sure the web server you are interacting with sets the right CORS headers in the response. If you control it you can find more info here: http://enable-cors.org/server.html Le 13 févr. 2014 à 18:40, Thomas

[ClojureScript] ANN: Om 0.4.0

2014-02-13 Thread David Nolen
Happy to announce a new release of Om. There are some breaking changes mostly to make the API more uniform - om.core/root was needlessly different from om.core/build. The biggest and most exciting change is the inclusion of the :tx-listen option to om.core/root. This will setup a callback which