Fork me on GitHub
#hoplon
<
2023-11-21
>
mynomoto17:11:47

And it is alive. Thanks to @borkdude for all the help getting this done.


<html>
  <head>
    <script src="" type="application/javascript"></script>
    <script src="" type="application/javascript"></script>
    <script src="" type="application/javascript"></script>
    <script type="application/x-scittle">
(require '[hoplon.core :as h])
(require '[javelin.core :as j])

(j/defc title "From Hoplon")

(h/body
  (h/h1 title))
    </script>
  </head>
  <body>
  </body>
</html>

❤️ 4
🎉 2
alandipert18:11:56

10 year old tic tac toe demo running beautifully with scittle 😍

🎉 1
1
borkdude18:11:52

@U04VC31U8 can you paste the app.cljs source as a gist or so?

alandipert18:11:07

this is so freaking awesome

borkdude18:11:34

ah yeah, I wanted to make a fiddle but you did it already :-D

alandipert18:11:56

is there a way to have a cljs pane in fiddle or something like it?

borkdude18:11:32

don't know, if you can get to the DOM node you can extract the innerText and then evaluate with:

scittle.core.eval_string

👍 1
borkdude18:11:46

@U04VC31U8 @U05094X3J Perhaps worth a message in #C06MAR553 This is a nice demo

alandipert18:11:12

thanks! sent

👍 2
dave19:11:09

That's super cool!

clojure-spin 3
alandipert21:11:23

just realized we can make the demos on http://hoplon.io editable now 💡

❤️ 5
mynomoto14:11:10

I plan to make a live code example for each Hoplon feature using this. I already have all I want to show in a single file but it is too much. And I also want to move https://github.com/hoplon/demos to the same setup.