Re: Multiple ClojureScript (sub)projects with shared CLJS libraries per single clojure project

2012-05-13 Thread Robert Stuttaford
I'm planning a base app which loads and unloads cljs mini-apps into the main app, one at a time. The problem domain is such that there are simply too many mini-apps to load upfront. Is lein-cljs build clever enough to generate exports and externs so that these modules can talk to each other? Fo

Re: clojurescript error

2012-05-13 Thread David Nolen
How are you compiling your source? On Sunday, May 13, 2012, Murtaza Husain wrote: > Hi, > > I have an array of maps defined as below - > > (def input-boxes [{:name ":person/first-name" :label-text "Full Name" > :help-text "Please enter your full name as - First Middle Last"} > {:name

Re: Defining custom tags using hiccup ?

2012-05-13 Thread Walter Tetzner
You could do this without adding anything to hiccup. If you wrote a function that, say, used walk, you could have it go through the vectors, and replace the custom tags with what they represent. Then you could just call that before calling `html'. (html (transform [:html [:head

Re: clojurescript error

2012-05-13 Thread Murtaza Husain
I am using Chris Ganger's noir-cljs. Any leads on how I could debug it? Thanks, Murtaza On Sunday, May 13, 2012 7:35:13 PM UTC+5:30, David Nolen wrote: > > How are you compiling your source? > > On Sunday, May 13, 2012, Murtaza Husain wrote: > >> Hi, >> >> I have an array of maps defined as b

tracing cljsbuild error

2012-05-13 Thread Murtaza Husain
Hi, While compiling using cljsbuild I get the error below. How do I trace it back to the source file that caused this error ? Thanks, Murtaza Compiling "resources/public/cljs/client.js" failed: Exception in thread "main" java.util.concurrent.ExecutionException: java.lang.NullPointerException

defs in Clojurescript REPL

2012-05-13 Thread Mark Engelberg
In Clojure, when you def a variable, the REPL prints the name of the variable rather than the value. In Clojurescript, when you def a variable, the REPL prints the value assigned to the variable. This is problematic when working with lazy values. Is there any particular reason the Clojurescript R