[ClojureScript] Where are the cljc docs?

2015-07-27 Thread Ivan L
cljx had all this project.clj specific stuff. I don't see any guides for integrating cljc... Can you specify output directories? I would love to see a working project if anyone has a sample - especially since cljx is already deprecated. -- Note that posts from new members are moderated -

[ClojureScript] Re: [ANN] Dominator - Virtual DOM in ClojureScript

2015-05-18 Thread Ivan L
Btw, this looks a lot cooler than the response its getting! It seems to exist at the reframe level more than reagent from what I can tell in a few minutes glance. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message

Re: [ClojureScript] Re: [ANN] Browserific, cross-platform app development in cljs

2015-03-26 Thread Ivan L
Have not tried it yet but I will! The feature expression concept is very attractive to me lately especially since I've been targeting cljs and clj but I will want to expand soon to android and ios. -- Note that posts from new members are moderated - please be patient with your first post.

[ClojureScript] Re: [ANN] Browserific, cross-platform app development in cljs

2015-03-25 Thread Ivan L
Chenex makes me a curious - can you define any target you want? For example, say I want to slice between :nodejs vs :nashorn in a clojurescript target? -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are

[ClojureScript] Re: Clojure and Clojurescript REPL Workflow

2015-03-12 Thread Ivan L
CCW has a built in repl you can start on a project that supports syntax highlighting, identation, auto-reload, auto-execute history etc... My current path is to start figwheel for client side clojurescript and use the built in repl for server side clojure. I use lein pdo and start jetty, cljx

[ClojureScript] Re: Resources for Getting Started with Clojurescript

2015-03-12 Thread Ivan L
A good place to start is checking out some state of the art front end framework/libs like om or reagent on mock data. Then work backwards to how to get the data maybe first as simple as google ajax or jayq, and then evolving towards something a little more modern like sente. personally I'm

Re: [ClojureScript] Re: What is the up to date summary of cljs macro definition/usage as of 2850?

2015-02-23 Thread Ivan L
I use cljx so they start out in common cljx file so its simply the same namespace. -- 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 group. To unsubscribe

[ClojureScript] template for jvm/js?

2015-02-15 Thread Ivan L
We have node cli templates, is there a lein template somewhere for a cljs app targeting nashorn/rhino as a runtime? -- 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] Re: Learning: CLJS recur and stack overflow

2015-02-13 Thread Ivan L
iirc recur converts a recursive looking form into a standard loop. it also does a few checks to see that it was coded in tail recursive manner so that's a plus. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because

[ClojureScript] Re: ANN: ClojureScript 0.0-2814, Nashorn REPL, async testing, and much more

2015-02-09 Thread Ivan L
Congratulations David and CLJS team, you guys are on fire lately. On Monday, February 9, 2015 at 7:47:41 PM UTC-5, David Nolen wrote: ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript New release version:

[ClojureScript] Strategy for organizing your functions and namespaces in a webapp.

2015-01-16 Thread Ivan L
In a simple jsp app, you might place only scripts that you want loaded in that page head. On ready, data is loaded and components rendered. In the filesystem it hopefully well organized (/food is food.jsp). What is everyones strategy for multipage cljs apps? Are people ignoring url when

[ClojureScript] Re: Simplifying JS dependencies in ClojureScript

2015-01-07 Thread Ivan L
Sounds like this would work great for the majority where the lib is only js, but what about edge cases where a lib depends on a relative pathed resource like an image or css file? Bootstrap comes to mind. -- Note that posts from new members are moderated - please be patient with your first

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-2644, enhanced REPLs

2015-01-04 Thread Ivan L
Would you expect the latest release to break cljsbuilds repl? I get this in a project I just upgraded. C:\Users\me\workspace\cljd3lein trampoline cljsbuild repl-rhino Running Rhino-based ClojureScript REPL. To quit, type: :cljs/quit Error: Namespace goog.debug.Error already declared.

[ClojureScript] How to integrate clojurescript macros into the build

2015-01-03 Thread Ivan L
Clojurescript tooling can be hell. Consider looking at cljx since AFAIK that is the way forward for cljs macros. Shameless plug - cljx setup is also confusing so I wrote cljx-start lein template once I understood what the hell was happening. Not fun stuff. If anything will sink

[ClojureScript] [leiningen] run tasks simultaneously?

2014-12-22 Thread Ivan L
I haven't tried these two specifically but pdo has worked well for me in the past -- 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 group. To unsubscribe

Re: [ClojureScript] Browserless ClojureScript

2014-12-22 Thread Ivan L
I can't wait to pick this up for my epic stuff. -- 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 group. To unsubscribe from this group and stop receiving

[ClojureScript] Re: Reagent + Data visualization (c2? strokes?)

2014-09-08 Thread Ivan L
I've used d3 directly via the component meta data hooks of reagent. I didn't really test the update angle, but the initial rendering works fine. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are

[ClojureScript] Re: ANN: Reagent 0.4.0

2014-08-29 Thread Ivan L
Dan apparently is really strapped on time. If you check out the issues list you'll see a few of us are using a fork from github/@whoops while he's out and whoops has updated to the latest react. On Friday, August 29, 2014 7:21:46 AM UTC-4, Cesare wrote: Hi Dan, I'm playing with Reagent and

[ClojureScript] Re: Idiomatic way of accessing JavaScript properties in nested namespaces

2014-08-28 Thread Ivan L
why is it not considered idiomatic, I see that pattern used all the time. Doesn't clojure itself use fq namespaces occasionally? (just no js prefix) On Thursday, August 28, 2014 5:45:55 PM UTC-4, Francis Avila wrote: Avoid dots in the name part of symbols. js/a.b.c works to reference a.b.c

[ClojureScript] Re: Dependent picklists using Reagent

2014-08-08 Thread Ivan L
What approaches have you tried? I would assume that if you have 3 reagent atoms holding each list data and you swap the next lists data in the parent, it should work fine. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this

[ClojureScript] Re: package moment.js for clojars

2014-08-06 Thread Ivan L
Tangential, if you only need a copy of a the file itself, I recommend webjars http://www.webjars.org/ [org.webjars/momentjs 2.8.1] -- 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

[ClojureScript] Re: ANN: ClojureScript 0.0-2280

2014-08-02 Thread Ivan L
As always, thanks for your hard work. -- 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 group. To unsubscribe from this group and stop receiving emails from

[ClojureScript] Re: Script tags in Html for different environments

2014-07-29 Thread Ivan L
This is the sweet spot for lein profiles. cljs-start has a good example of it. The nice thing about using profiles is that you can reuse as much as you want in your dev profile code (which will probably just be a few simple items like handlers and template page or two) and then your prod

[ClojureScript] Re: [clojurescript.test] fail to run test as dependencies appears to be incorrect

2014-07-18 Thread Ivan L
If you look at another recent thread in the list, you'll see my thread on the goog issue. David has committed a fix to master, so it should be available soon hopefully! Whitespace was identified in that thread as well as a workaround. -- Note that posts from new members are moderated -

[ClojureScript] Re: goog undefined error from clojurescript version 2197 and up

2014-07-16 Thread Ivan L
Thanks guys! -- 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 group. To unsubscribe from this group and stop receiving emails from it, send an email to

[ClojureScript] goog undefined error from clojurescript version 2197 and up

2014-07-15 Thread Ivan L
Hey all, I create project from the latest mies template. Launch a cljsbuild rhino repl and it fails with goog undefined. Changes between 2173 (last working version) and 2197: https://github.com/clojure/clojurescript/compare/r2173...r2197 Any thoughts? Is there a place to report this stuff

Re: [ClojureScript] goog undefined error from clojurescript version 2197 and up

2014-07-15 Thread Ivan L
Can you replicate it at all? I got the same behavior when I added the following to my project. 2197 exhibits the goog requirement, 2173 doesn't. I'm on oracle jdk 7. :injections [(require '[cljs.repl :as repl]) (require '[cljs.repl.rhino :as rhino])

[ClojureScript] Re: goog undefined error from clojurescript version 2197 and up

2014-07-15 Thread Ivan L
Jason, Where would that requirement be explained? I'm only trying to load a plain rhino repl, which as far as I know is not even aware of your application code. I updated the project.clj below to whitespace to see if that worked and I still see it. with this:

[ClojureScript] Re: [Reagent] Rendering HTML string in a component?

2014-07-14 Thread Ivan L
I'm learning it as well, but my guess is this is probably best done via some third party js to inject it after component mounting. If you're not familiar with react lifecycle events you should read up on that now, basically they are hooks you can use to alter the real dom after it has been

[ClojureScript] Re: browser repl with counterclockwise

2014-04-30 Thread Ivan L
Yes, and its not that difficult. See my answer here: https://groups.google.com/forum/#!topic/clojuredev-users/Uh87SezpTqU On Wednesday, April 30, 2014 3:30:26 PM UTC-4, Răzvan Rotaru wrote: Hi, Is it possible to have a browser based repl for clojurescript with counterclockwise? I tried to

Re: [ClojureScript] Re: CLJS Advanced Compilation JS Libraries lacking externs

2014-03-17 Thread Ivan L
A little puzzled, wasn't the preamble key added for stuff like licenses? -- 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 group. To unsubscribe from this

[ClojureScript] Re: Clojurescript Canvas Library

2014-01-30 Thread Ivan L
On Wednesday, January 29, 2014 10:45:42 PM UTC-5, Michael Zazzali wrote: I considered wrapping kineticjs, but decided not too, because well what fun would that be. This is also a side project to something else I am working on which is a gui for working with data sets. I intend to build a

[ClojureScript] Re: [ANN] cljs-start 0.1.1

2014-01-14 Thread Ivan L
Hi Giacomo, This is excellent work! I played around with cljs-start tonight, thanks so much for your work. One hopefully quick question. Assuming the CCW lein headless start and then (run) and (browser-repl), how can the cljs namespace being edited be updated? My first thought was to simply