This commit is contained in:
kloimhardt 2021-06-01 15:08:29 +02:00
parent 2f5d2320bd
commit 8d35ea95f2
2 changed files with 25 additions and 9 deletions

View file

@ -3,10 +3,13 @@
<script src="./resources/public/js/scittle.js"></script>
<script src="./resources/public/js/scittle.makro-plugin.js"></script>
<script type="application/x-scittle">
(require '[makro-plugin.core :as m])
(require '[scittle.makros :as m])
(defn my-alert []
(.log js/console (m/add-low-fn 1 2 5 6))
(.log js/console (m/add-low-makro 7 8)))
(.log js/console (m/add-low-sci-makro 7 8))
(.log js/console (m/add-slash-sci-makro 1 2))
(.log js/console (m/add-c-sci-makro 3 4))
)
(set! (.-my_alert js/window) my-alert)
</script>
</head>