[CLJS] Disable name mangling for 'static'

2012-04-24 Thread Jonathan Fischer Friberg
Hi, I want to create a (partially static) server with nodejs and express. I want to be able to write something like the following: (def app (.createServer express)) (.use app (.static express "public")) (.listen app 8080) The problem here is that clojurescript seems to compile the name 'static

Re: [CLJS] Disable name mangling for 'static'

2012-04-24 Thread David Nolen
It's a known bug. We should not munge JS reserved words that appear in property access. Patch welcome. David On Tue, Apr 24, 2012 at 3:31 PM, Jonathan Fischer Friberg < odysso...@gmail.com> wrote: > Hi, > > I want to create a (partially static) server with nodejs and express. > I want to be able