With Scittle, you can script your web browser with Clojurescript without compiling anything.
This folder contains some HTML for loading up scittle.
There’s an HTML file in this folder that’s meant to be included by other pages:
ls | grep html | grep -v index.html
scittle-with-extras.html
Here it is:
<!-- play.teod.eu/scittle/scittle-with-extras.html -->
<!-- shared HTML embed for scittle goodies -->
<!-- Scittle -->
<script defer src="https://cdn.jsdelivr.net/npm/scittle@0.3.10/dist/scittle.js" type="application/javascript"></script>
<!-- React -->
<script defer crossorigin src="https://unpkg.com/react@17/umd/react.production.min.js"></script>
<script defer crossorigin src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js"></script>
<!-- Reagent and HTTP requests for Clojurescript -->
<script defer src="https://cdn.jsdelivr.net/npm/scittle@0.3.10/dist/scittle.reagent.js" type="application/javascript"></script>
<script defer src="https://cdn.jsdelivr.net/npm/scittle@0.3.10/dist/scittle.cljs-ajax.js" type="application/javascript"></script>
<!-- Random page functionality -->
<script defer src="/tools/goto_random_page.cljs" type="application/x-scittle"></script>
Full path for inclusion:
/scittle/scittle-with-extras.html