[ClojureScript] Re: ANN: om-sync

2014-02-22 Thread Joel
I'm interested in this thread, it does seem however that DerbyJS is farther ahead in this type of work though. I was looking for a similar JVM stack, but not sure how to put it together as well. Atmosphere seems like it fits for the basic communication even including pubsub. Derby updates the v

[ClojureScript] Om application - usage of paths for nested items

2014-02-22 Thread Colin Kahn
Hi, I'm mainly an Angular dev that's been playing around with Om. I decided to make a test application, one that included editing, a recursive tree, filtering and adding items, to see how Om worked. I just finished updating the app to 0.5.0 and was hoping to get some insight on how functional

Re: [ClojureScript] Re: [Q] several questions on Om/Clojurescript

2014-02-22 Thread vladislav p
I got the 'advanced' mode working for a simple hello world Your question prompted me to go back and update to the latest versions of everything so you can see it at https://github.com/vladp/cljs_om_dojo/ I suspect in advanced mode the including of reactjs needed to be different. But not 100% sure

Re: [ClojureScript] ANN: ankha (Om data inspector)

2014-02-22 Thread David Nolen
Excellent! On Sat, Feb 22, 2014 at 8:55 PM, Joel Holdbrooks wrote: > Ankha is a generic data inspector for use with Om. You can use it to > interactively view your application's state or any other supported data > structure (see README). > > Learn more here: https://github.com/noprompt/ankha > >

[ClojureScript] ANN: ankha (Om data inspector)

2014-02-22 Thread Joel Holdbrooks
Ankha is a generic data inspector for use with Om. You can use it to interactively view your application's state or any other supported data structure (see README). Learn more here: https://github.com/noprompt/ankha Comments, suggestions, and patches welcome. Expect more features to come. --

Re: [ClojureScript] Best way to pass/read a complete EDN string to clojurescript from the page.

2014-02-22 Thread Boris Kourtoukov
Would that still work with advanced compilation? I can't quite recall if you-app.core/start would be renamed by Google closure compiler? -- 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 G

Re: [ClojureScript] Best way to pass/read a complete EDN string to clojurescript from the page.

2014-02-22 Thread Moritz Ulrich
What about providing a your-app.core/start-application which takes a edn-string as a parameter, then adding a

[ClojureScript] Best way to pass/read a complete EDN string to clojurescript from the page.

2014-02-22 Thread Boris Kourtoukov
I have a setup that 'posts' for some EDN data on the server in order to update an OM component. That works fine, but I want to avoid an extra 'post' on the initial page load and rather dump the starting state with the primary browser request (i.e. just output the EDN string somewhere on the pa

Re: [ClojureScript] Re: Use #js in macro

2014-02-22 Thread David Nolen
Likely a core.async bug. David On Fri, Feb 21, 2014 at 8:57 PM, Kevin Marolt wrote: > On a (possibly) related note: > > The #js data literal doesn't seem to work correctly > inside the go macro as well: Compiling > > (go (prn ( > produces > > "WARNING: Use of undeclared Var /bar ..." >

[ClojureScript] Re: Use #js in macro

2014-02-22 Thread Kevin Marolt
On a (possibly) related note: The #js data literal doesn't seem to work correctly inside the go macro as well: Compiling (go (prn (/bar ..." and prints out "#js {:foo nil}" if /bar is nil. Of course, (go (prn ( I'm building utility macro to convert sequence of functions into java

[ClojureScript] Re: Use #js in macro

2014-02-22 Thread Brandon Bloom
The #js tagged literal, like all reader macros (@, ~, ~@, #, etc) are resolved at read-time, which is before the macro runs and doesn't happen again afterwards for the macro-expanded code. Reader forms are for syntactic convenience, so if you have a situation where you want a JavaScript object

[ClojureScript] Re: ANN: Reagent 0.4.0

2014-02-22 Thread Dan Holmsand
Reagent is now at 0.4.1, with support for ClojureScript 0.0-2173. Reagent's atom now implements the necessary IAtom, ISwap and IReset protocols. Reagent should still be compatible with older ClojureScript versions, but you will get a lot of compilation warnings. /dan On 21 feb 2014, at 16:57