From 9175d65483dd4db5822348d33e4554357de93c2b Mon Sep 17 00:00:00 2001 From: Antonin Hildebrand Date: Sun, 1 Sep 2019 23:56:35 +0200 Subject: [PATCH] examples: improve core.cljs in dirac-figmain --- examples/figwheel-main/src/main/dirac_figmain/core.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/figwheel-main/src/main/dirac_figmain/core.cljs b/examples/figwheel-main/src/main/dirac_figmain/core.cljs index a320f961dd..8b641dd455 100644 --- a/examples/figwheel-main/src/main/dirac_figmain/core.cljs +++ b/examples/figwheel-main/src/main/dirac_figmain/core.cljs @@ -5,6 +5,8 @@ [sablono.core :as sab :include-macros true] [dirac.runtime :as dirac])) +; -- figwheel template ------------------------------------------------------------------------------------------------------ + (println "This text is printed from src/dirac_figmain/core.cljs. Go ahead and edit it and see reloading in action.") (defn multiply [a b] (* a b)) @@ -17,7 +19,7 @@ (defn hello-world [state] (sab/html [:div [:h1 (:text @state)] - [:h3 "Edit 1 this in src/dirac_figmain/core.cljs and watch it change!"]])) + [:h3 "Edit this in src/dirac_figmain/core.cljs and watch it change!"]])) (defn mount [el] (js/ReactDOM.render (hello-world app-state) el))