wip
This commit is contained in:
parent
a488900e23
commit
848dd52d3c
3 changed files with 25 additions and 17 deletions
|
|
@ -33,6 +33,6 @@ Idea by Arne Brasseur a.k.a [plexus](https://github.com/plexus).
|
|||
|
||||
## License
|
||||
|
||||
Copyright © 2021 Michiel Borkent
|
||||
Copyright © 2021 - 2022 Michiel Borkent
|
||||
|
||||
Distributed under the EPL License. See LICENSE.
|
||||
|
|
|
|||
|
|
@ -10,4 +10,6 @@
|
|||
(.append
|
||||
(js/document.createTextNode "there")))))
|
||||
|
||||
(defn foo [])
|
||||
|
||||
(js/alert "Isn't this cool? :)")
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@
|
|||
When you have a file on your server, say <tt>cljs/script.cljs</tt>, you can load it using the <tt>src</tt> attribute:
|
||||
|
||||
<pre><code id="scittle-tag-example" class="html">
|
||||
<script src="cljs/script.cljs" type="application/x-scittle"></script>
|
||||
<script src="cljs/script.cljs" type="application/x-scittle"></script>
|
||||
</code></pre>
|
||||
|
||||
<script type="text/javascript">hljs.highlightElement(document.getElementById("scittle-tag-example"));</script>
|
||||
|
|
@ -118,6 +118,12 @@
|
|||
Click me!
|
||||
</button>
|
||||
|
||||
<a name="repl"></a>
|
||||
<h2><a href="#nrepl">REPL</a></h2>
|
||||
|
||||
To connect to a REPL with Scittle,
|
||||
see <a href="https://github.com/babashka/scittle/blob/main/README.md#repl">README.md</a>
|
||||
|
||||
<a name="examples"></a>
|
||||
<h2><a href="#examples">Examples</a></h2>
|
||||
<ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue