Sunday, March 29, 2015

Clojurescript REPL

Updating the DOM by entering a clojurescript command from the REPL:


cljs.user=> (set! (.-innerHTML (.getElementById js/document "status")) (str "saved"))
First, install maven and add to $PATH then follow these directions.
http://swannodette.github.io/2014/12/31/the-old-way-the-new-way/

Here's a great example of Clojurescript:
http://programming-enchiladas.destructuring-bind.org/rm-hull/a7f33553c4aaf97a8162