Re: [ClojureScript] How to run integration tests for client/server interaction

2015-04-08 Thread Sebastian Bensusan
Hi Jonathon, I've encountered the same issue and so far my solution has been to run something like `lein ring server` on a terminal window while I run `lein test cljs` on the other. Not ideal! I see two solutions to this: 1. Use Selenium through https://github.com/semperos/clj-webdriver and do

[ClojureScript] Re: clojurescript configuration variables

2015-04-08 Thread Sebastian Bensusan
Hi, I use https://github.com/weavejester/environ for configuration. To call it from ClojureScript I usually wrap it in a macro like this: app/env.clj (ns app.env (:require [environ.core :refer [env]])) (defmacro cljs-env [kw] (env kw)) put it in on project.clj :env {:rss-uri "i-dont-know

Re: [ClojureScript] How to run integration tests for client/server interaction

2015-04-08 Thread jmckitrick
That's exactly what I was thinking - an alias to start the server first. I'm at the same place, working on tests for React apps. On Wed, Apr 8, 2015 at 9:59 AM Sebastian Bensusan wrote: > Hi Jonathon, > > I've encountered the same issue and so far my solution has been to run > something like `le

Re: [ClojureScript] Re: Clojurescript roadmap for ES6

2015-04-08 Thread Kristian Mandrup
Wondering if it would make sense or is "possible" to host ClojureScript inside an ES6 javascript file, something like this. I imagine a 2-step compilation phase where, a regexp finds any pattern of the form ":(...)" and compiles these via the ClojureScript compiler which are then hosted inside t

Re: [ClojureScript] Re: Clojurescript roadmap for ES6

2015-04-08 Thread Kristian Mandrup
I guess the easiest way to host a ClojureScript function inside an ES6 class is to use a Mixin approach? https://www.npmjs.com/package/es6-class-mixin Wondering if/how I can I use ES6 import with a Clojure library? Then it would be achievable in an fairly elegant way :) -- Note that posts fro

[ClojureScript] [ANN] [April 16 2015] SF Reagent Meetup!

2015-04-08 Thread Marc Fawzi
Hi everyone! As you may know, our first Reagent meetup at Loyal3 in SF/Bay Area on March 16th, 2015 (video: https://www.youtube.com/watch?v=DYzwfekWSzQ) went well and we've been planning a second meetup... The date has been set for April 16th (so soon you say!!) We've actually taken input from m

[ClojureScript] Re: [ANN] [April 16 2015] SF Reagent Meetup!

2015-04-08 Thread Marc Fawzi
For meetup sign up ad RSVP http://www.meetup.com/Reagent-Minimalistic-React-for-ClojureScript/events/221710610/?a=ea1_grp&rv=ea1 On Wed, Apr 8, 2015 at 1:06 PM, Marc Fawzi wrote: > Hi everyone! > > As you may know, our first Reagent meetup at Loyal3 in SF/Bay Area on > March 16th, 2015 (video:

[ClojureScript] Re: ANN: re-com components for Reagent

2015-04-08 Thread Shaun Mahood
Looks fantastic, I can't wait to dive into it. On Wednesday, April 8, 2015 at 3:48:59 PM UTC-6, Mike Thompson wrote: > re-com is a CojureScript library of reusable components for Reagent. > https://github.com/Day8/re-com > > Features: > - 100% ClojureScript. No javascript wrapping. > - compon

Re: [ClojureScript] Re: [ANN] [April 16 2015] SF Reagent Meetup!

2015-04-08 Thread Marc Fawzi
Yes I am working on a version that can be shared publicly along with blog post which will be shared during the meetup. I hit send too soon. Will send the Periscope instructions soon so you can join us on the 16th. I am equally anxious about your take on my take! :) The idea is to share knowledge

[ClojureScript] ANN: re-com components for Reagent

2015-04-08 Thread Mike Thompson
re-com is a CojureScript library of reusable components for Reagent. https://github.com/Day8/re-com Features: - 100% ClojureScript. No javascript wrapping. - components for widgets and layout - a bootstrap-ish sorta look and feel. With some material design icons. - a demo app - http://re-dem

[ClojureScript] Re: [ANN] [April 16 2015] SF Reagent Meetup!

2015-04-08 Thread Mike Haney
Tried to view the YouTube video and it says it's private. I'm really anxious to hear your take on reusable components. -- 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 "Clo