[ClojureScript] ANN: Light Table 0.8.0 Milestone release

2015-12-10 Thread Magnus Rundberget
Hi All ! The Light Table Open Source team is proud to finally release Light Table version 0.8.0. We'd like to give a huge thanks to all contributors to this milestone release. The alpha release has been out for 1.5 months now. A few bugs have been reported, but in general the shift from Node Web

Re: [ClojureScript] Representing Signals

2015-12-10 Thread Jamie Orchard-Hays
Javelin is really nice. > On Dec 10, 2015, at 3:40 PM, Eivind Magnus Hvidevold > wrote: > > > I've used Javelin (https://github.com/hoplon/javelin > ) for this very purpose (window > width/height and resize) in > https://github.com/emnh/glsl-graph/blob/ma

Re: [ClojureScript] Representing Signals

2015-12-10 Thread Brian Rubinton
You could also use Zelkova (an elm-style frp library): https://github.com/jamesmacaulay/zelkova > On Dec 10, 2015, at 3:41 PM, Erik Price wrote: > > You can use a channel to capture this. Keep in mind that channels have > different semantics from sig

Re: [ClojureScript] Representing Signals

2015-12-10 Thread Erik Price
You can use a channel to capture this. Keep in mind that channels have different semantics from signals, so you'll write different code, but it can be done. You can also use RxJS. Leonardo Borges has a CLJS wrapper for it: https://github.com/leonardoborges/rx-cljs e On Thu, Dec 10, 2015 at 3:24

Re: [ClojureScript] Representing Signals

2015-12-10 Thread Eivind Magnus Hvidevold
I've used Javelin (https://github.com/hoplon/javelin) for this very purpose (window width/height and resize) in https://github.com/emnh/glsl-graph/blob/master/src/glsl_graph/core.cljs . I use Stuart Sierra's component framework ( https://github.com/stuartsierra/component) to encapsulate the Javeli

[ClojureScript] Representing Signals

2015-12-10 Thread Adam Kowalski
I would like to have a way to represent the current width and height of the window but I am not quite sure how to go about doing this. For example if I have some element on the screen and I want it to be 50% of the window width, I would need to know every time the window is resized and update t

[ClojureScript] Can not "require" om.next in clojureScript (in clojurescript)

2015-12-10 Thread Zubair Quraishi
When I try to require om.next in self hosted ClojureScrtipt I get this message: :error #error {:message "Could not eval om.next", :data {:tag :cljs/analysis-error}, :cause #error {:message "Invalid token: //", :data {:type :reader-exception, :line 11, :column 27, :file om.next Any ideas as

[ClojureScript] Re: In Clojurescript Compiler how to change the namespace?

2015-12-10 Thread Zubair Quraishi
I figured it out in the end, doing this: (cljs/eval-str (cljs/empty-state) string-to-evaulate 'foo.bar { :eval cljs/js-eval :load load-fn :source-map true} (fn [result]