From 476db65565aff2e8ac7cdf11a07390a1126c27d7 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Tue, 17 May 2022 21:06:29 +0200 Subject: [PATCH] Reagent --- resources/public/cljs/nrepl_playground.cljs | 15 +++++++++++++++ resources/public/nrepl.html | 14 ++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 resources/public/cljs/nrepl_playground.cljs create mode 100644 resources/public/nrepl.html 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 @@ + + + + + + + + + + +

Scittle

+

What is this?

+ +