Re: clojurescript advanced compile error

2011-08-07 Thread Tero Parviainen
> So I'm assuming that the problem is in the use of .strobj, and there is some > better way to convert the clojure map to a javascript map that outputs > symbol style keys rather than string style keys - is there a simple way to > do that?  Would that fix the problem? Yeah, outputting symbol style

Re: clojurescript advanced compile error

2011-08-02 Thread David Powell
On Mon, Aug 1, 2011 at 5:10 PM, Tero Parviainen wrote: > This is a known "feature" with Closure templates: > http://code.google.com/p/closure-templates/issues/detail?id=25 > > The Closure compiler does name replacement on the template parameters, > so that after the compilation the argument names

Re: clojurescript advanced compile error

2011-08-01 Thread Tero Parviainen
This is a known "feature" with Closure templates: http://code.google.com/p/closure-templates/issues/detail?id=25 The Closure compiler does name replacement on the template parameters, so that after the compilation the argument names are no longer "greeting" and "year". The JS object constructed in

clojurescript advanced compile error

2011-07-24 Thread Jack Moffitt
I'm working through Closure tutorials translating them to ClojureScript. Unfortunately, I've hit a problem where the code works with {:optimizations :simple} but fails with {:optimizations :advanced}. The code is very simple. It basically is a trivial template example with Soy (from Closure templa