[ClojureScript] Re: [Om] [om-bootstrap] Programatically populate items in om-bootstrap dropdown

2014-09-05 Thread jack james
On Thursday, September 4, 2014 9:50:41 PM UTC-5, Tom George wrote: Hi, I'm doing my first real work in clojurescript/om. I have a little web service that queries a database and returns a JSON message of all known schema owners. I want to use this data source to populate a dropdown.

Re: [ClojureScript] Can I make any updates to a Clojurescript Om component in the InitState?

2014-09-05 Thread Daniel Kersten
I personally avoid doing anything impure in IInitState. To me it seems that it should be a pure function returning a map of the local state. IWillMount is a better place to do things. Could you perform the updates in the parent? On 5 September 2014 10:23, Zubair Quraishi zuba...@gmail.com

[ClojureScript] Re: accessing cljs code from inside a macro

2014-09-05 Thread Joel Holdbrooks
On Sunday, August 31, 2014 7:47:29 AM UTC-7, Yehonathan Sharvit wrote: I am trying to write a macro that calls cljs code. How can I use the ClojureScript analyzer to resolve ClojureScript symbols from Clojure? For example I have: a cljs namespace (ns user.my-cljs) (defn

Re: [ClojureScript] [Om] [om-bootstrap] Programatically populate items in om-bootstrap dropdown

2014-09-05 Thread Jamie Orchard-Hays
Tom, while I'm also using Sablono, you might also have a look at om-tools from Prismatic: https://github.com/Prismatic/om-tools On Sep 5, 2014, at 12:59 PM, Tom George tg82...@gmail.com wrote: Sean and Jack, Thanks a lot for your responses. Sean - I like the look of sablono over

[ClojureScript] Re: Boolean vs. Number for Boolean field

2014-09-05 Thread Mike Fikes
I filed a rdar, and Apple engineering confirmed the inherent limitation with the 32-bit runtime: “Objective-C internally treats BOOL as int, so we can't do anything nicer.” -- Note that posts from new members are moderated - please be patient with your first post. --- You received this