Hi,
Putting javascript at the bottom of body is nice idea.
Thanks.
2012/1/2 Stuart Sierra the.stuart.sie...@gmail.com:
Hi Takahiro,
This will work. It's not 100% idiomatic Clojure, but it's an acceptable
workaround to the DOM loading issue.
If ClojureScript had `alter-var-root`, which it
Hi Takahiro,
This will work. It's not 100% idiomatic Clojure, but it's an acceptable
workaround to the DOM loading issue.
If ClojureScript had `alter-var-root`, which it doesn't, you could use that
to set the Vars in your init function. But ClojureScript doesn't really
have Vars either, so I
Hi,
In order to manipulate dom, I often want to bind elements into
variable through def, but we cannot manipulate it until load event.
So I wrapped all def into a load event handler in the following way.
https://gist.github.com/1521051
I don't use let, because many elements cause deep nested let,