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
|
## License
|
||||||
|
|
||||||
Copyright © 2021 Michiel Borkent
|
Copyright © 2021 - 2022 Michiel Borkent
|
||||||
|
|
||||||
Distributed under the EPL License. See LICENSE.
|
Distributed under the EPL License. See LICENSE.
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,6 @@
|
||||||
(.append
|
(.append
|
||||||
(js/document.createTextNode "there")))))
|
(js/document.createTextNode "there")))))
|
||||||
|
|
||||||
|
(defn foo [])
|
||||||
|
|
||||||
(js/alert "Isn't this cool? :)")
|
(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:
|
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">
|
<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>
|
</code></pre>
|
||||||
|
|
||||||
<script type="text/javascript">hljs.highlightElement(document.getElementById("scittle-tag-example"));</script>
|
<script type="text/javascript">hljs.highlightElement(document.getElementById("scittle-tag-example"));</script>
|
||||||
|
|
@ -118,6 +118,12 @@
|
||||||
Click me!
|
Click me!
|
||||||
</button>
|
</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>
|
<a name="examples"></a>
|
||||||
<h2><a href="#examples">Examples</a></h2>
|
<h2><a href="#examples">Examples</a></h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue