From 2bb0552abd05a04fabf07af8ca8e966f82240226 Mon Sep 17 00:00:00 2001
From: Michiel Borkent
<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:
@@ -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 src="cljs/script.cljs" type="application/x-sci"></script>
+<script src="cljs/script.cljs" type="application/x-scittle"></script>
-<script type="application/x-sci" src="cljs/tictactoe.cljs"></script>
+<script type="application/x-scittle" src="cljs/tictactoe.cljs"></script>
-