From 2bb0552abd05a04fabf07af8ca8e966f82240226 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Wed, 26 May 2021 13:01:43 +0200 Subject: [PATCH] x-scittle --- resources/public/base.html | 4 ++-- resources/public/index.html | 12 ++++++------ resources/public/tictactoe.html | 6 +++--- src/scittle/core.cljs | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) 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>
 
 

-