diff --git a/resources/public/cljs/nrepl_playground.cljs b/resources/public/cljs/nrepl_playground.cljs new file mode 100644 index 0000000..2c71307 --- /dev/null +++ b/resources/public/cljs/nrepl_playground.cljs @@ -0,0 +1,15 @@ +(ns nrepl-playground) + +(+ 1 2 3) + +(-> + (js/document.getElementsByTagName "body") + first + (.append + (doto (js/document.createElement "p") + (.append + (js/document.createTextNode "there"))))) + +(defn foo []) + +(js/alert "Isn't this cool? :)") diff --git a/resources/public/nrepl.html b/resources/public/nrepl.html new file mode 100644 index 0000000..b6fcb05 --- /dev/null +++ b/resources/public/nrepl.html @@ -0,0 +1,14 @@ + + +
+ + + + + + + +