diff --git a/resources/public/base.html b/resources/public/base.html index 90f65b6..12c9501 100644 --- a/resources/public/base.html +++ b/resources/public/base.html @@ -3,7 +3,7 @@
- - - + @@ -52,13 +52,13 @@ Include scittle.js and write a script tag where type is set - to application/x-sci. + to application/x-scittle.
<head>
<script src="https://borkdude.github.io/scittle/js/scittle.js" type="application/javascript"></script>
- <script type="application/x-sci">
+ <script type="application/x-scittle">
(defn my-alert []
(js/alert "You clicked!"))
@@ -84,7 +84,7 @@
When you have a file on your server, say cljs/script.cljs, you can load it using the src attribute:
-<script src="cljs/script.cljs" type="application/x-sci"></script>
+<script src="cljs/script.cljs" type="application/x-scittle"></script>
@@ -99,7 +99,7 @@
<script crossorigin src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js"></script>
<script src="https://borkdude.github.io/scittle/js/scittle.reagent.js" type="application/javascript"></script>
-<script type="application/x-sci">
+<script type="application/x-scittle">
(require '[reagent.core :as r]
'[reagent.dom :as rdom])
diff --git a/resources/public/tictactoe.html b/resources/public/tictactoe.html
index eb98e9b..5b62e74 100644
--- a/resources/public/tictactoe.html
+++ b/resources/public/tictactoe.html
@@ -8,7 +8,7 @@
-
+
@@ -25,12 +25,12 @@
from cljs/tictactoe.cljs using the
script tag:
-<script type="application/x-sci" src="cljs/tictactoe.cljs"></script>
+<script type="application/x-scittle" src="cljs/tictactoe.cljs"></script>
-