arohner / scriptjure

a Clojure library for generating javascript
187 stars 15 forks source link

Add defjsmacro to make generating JS cleaner #10

Closed ibdknox closed 13 years ago

ibdknox commented 13 years ago

I've added in the notion of custom forms that can be created using defjsmacro. This allows for the use of clojure generated JS without having to wrap every single call in (clj). This makes a huge difference when you might be doing a bunch of nested calls to clj functions.