[ClojureScript] Re: Rerender lists with different items on changed order in om

2014-06-30 Thread lightningflash82
Thanks to the both of you. Of course I meant a multimethod, sorry for the wrong wording ;) I'm still very new to all this. I think you totally mentioned the right thing here, Daniel. Thanks for the link. I will try using different methods instead of a multimethod in the next days. Thought it

Re: [ClojureScript] Re: Modal implementation

2014-06-30 Thread António Monteiro
On Sunday, June 29, 2014 8:29:56 PM UTC+1, William Sommers wrote: Bootstrap requires you to return an instance of a jquery object I think. have a look into jayq, especially the part about compiling and externs (https://github.com/ibdknox/jayq#compiling) you can find closure contrib externs

[ClojureScript] Compilation failures

2014-06-30 Thread 'Andrew Stebbing' via ClojureScript
Hello, I am completely new to Clojure and ClojureScript. I have a copy of the book CloureScript Up Running but have fallen at the first hurdle. Although I have had great success trying things out in LightTable and in the Clojure and Leiningen REPLs I have failed completely to get anything in

[ClojureScript] Reagent in a modal with a select component

2014-06-30 Thread Jonathon McKitrick
I am using jQuery and the Bootstrapjs modal to pop up a dialog to edit a row from a table. When the dialog Here is the code for the component in the dialog: (defn select-component [] (let [val (atom nil)] (fn [id choices name-fn value-fn selected-item] (js/alert (str Select

[ClojureScript] Compilation failures

2014-06-30 Thread Thomas Heller
Your project.clj is missing a closing paren ), thats why you are getting the EOF error with lein. HTH -- 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 Google Groups ClojureScript

[ClojureScript] Re: Compilation failures

2014-06-30 Thread William Sommers
Andrew, If you're totally new to Clojure, like I was a bit back, you should checkout something called Paredit. If you're using LightTable you can check out the plugin here. https://github.com/LightTable/Paredit It pretty much prevents you from having unmatched braces and also helps to move

Re: [ClojureScript] Reagent in a modal with a select component

2014-06-30 Thread Jonathon McKitrick
I ended up setting up another atom to hold the unique id of the record being edited. When that changes, I reset VAL as well. -- Jonathon McKitrick On Mon, Jun 30, 2014 at 11:47 AM, Jonathon McKitrick jmckitr...@gmail.com wrote: I am using jQuery and the Bootstrapjs modal to pop up a dialog

[ClojureScript] ClojureScript, Polymer and web components?

2014-06-30 Thread Roman Scherer
I watched some Google IO videos about polymer and was quite impressed. Their new tutorial and the designer are also very nice. Now I wonder if people already tried polymer to use with ClojureScript, or what the ClojureScript answer could be in terms of web components? Roman -- Note that posts

[ClojureScript] Re: ClojureScript, Polymer and web components?

2014-06-30 Thread Roman Scherer
Sure, I got interested while watching the keynote of Google IO [1] when they talk about Material Design in Android at around minute 14:22. For Polymer they created web components that implement this design for the web. Basically Google's card design implemented in some web components that seem to

[ClojureScript] Auth Token Implementation for a REST api

2014-06-30 Thread Geoff Little
Hi everybody, I've been Googleing for resources on implementing authentication for a simple REST api in Clojure but I can't find a clear standard. Does anyone know of a simple library I can use with liberator (for the api-part) to, someone suggested, implement an authentication scheme using an

[ClojureScript] Re: Compilation failures

2014-06-30 Thread 'Andrew Stebbing' via ClojureScript
On Monday, June 30, 2014 9:15:58 PM UTC+1, William Sommers wrote: Andrew, If you're totally new to Clojure, like I was a bit back, you should checkout something called Paredit. If you're using LightTable you can check out the plugin here. https://github.com/LightTable/Paredit It

Re: [ClojureScript] Re: Compilation failures

2014-06-30 Thread Dave Della Costa
Unfortunately I think ClojureScript: Up Running is rather out of date at this point, in terms of how folks develop CLJS. For one, cljsbuild is pretty universally used to compile ClojureScript. I would recommend starting w/David Nolen's tutorials here:

[ClojureScript] Re: Compilation failures

2014-06-30 Thread Alex Vzorov
On Tuesday, July 1, 2014 5:15:16 AM UTC+7, Andrew Stebbing wrote: Is there anywhere that's got a super simple ClojureScript file and its associated Lein project file that is known to compile that I can then copy and attempt a compilation? https://github.com/swannodette/mies is what you