update build
This commit is contained in:
parent
42355e2331
commit
0cea249a5b
3 changed files with 31 additions and 29 deletions
26
css/style.css
Normal file
26
css/style.css
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
body
|
||||||
|
{
|
||||||
|
font-family: Arial;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#app
|
||||||
|
{
|
||||||
|
color:#666;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#app td
|
||||||
|
{
|
||||||
|
width:50px;
|
||||||
|
height:50px;
|
||||||
|
border:1px solid #dedede;
|
||||||
|
background:#fff;
|
||||||
|
margin:1px;
|
||||||
|
color:#666;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#app td:hover
|
||||||
|
{
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<link rel="stylesheet" href="css/style.css">
|
||||||
<script src="js/sci-script-tag.js" type="application/javascript"></script>
|
<script src="js/sci-script-tag.js" type="application/javascript"></script>
|
||||||
<script src="js/sci-script-tag-plugin-reagent.js" type="application/javascript"></script>
|
<script src="js/sci-script-tag-plugin-reagent.js" type="application/javascript"></script>
|
||||||
|
|
||||||
<script type="application/x-sci">
|
<script type="application/x-sci">
|
||||||
(defn my-alert []
|
(defn my-alert []
|
||||||
(js/alert "You clicked!"))
|
(js/alert "You clicked!"))
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<link rel="stylesheet" href="css/style.css">
|
||||||
<script src="js/sci-script-tag.js" type="application/javascript"></script>
|
<script src="js/sci-script-tag.js" type="application/javascript"></script>
|
||||||
<script src="js/sci-script-tag-plugin-reagent.js" type="application/javascript"></script>
|
<script src="js/sci-script-tag-plugin-reagent.js" type="application/javascript"></script>
|
||||||
|
|
||||||
|
|
@ -9,38 +10,13 @@
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/highlight.min.js" type="text/javascript"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/highlight.min.js" type="text/javascript"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/languages/clojure.min.js" type="text/javascript"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/languages/clojure.min.js" type="text/javascript"></script>
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/zenburn.min.css" integrity="sha512-JPxjD2t82edI35nXydY/erE9jVPpqxEJ++6nYEoZEpX2TRsmp2FpZuQqZa+wBCen5U16QZOkMadGXHCfp+tUdg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/zenburn.min.css" integrity="sha512-JPxjD2t82edI35nXydY/erE9jVPpqxEJ++6nYEoZEpX2TRsmp2FpZuQqZa+wBCen5U16QZOkMadGXHCfp+tUdg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||||
<style>
|
|
||||||
body
|
|
||||||
{
|
|
||||||
font-family: Arial;
|
|
||||||
}
|
|
||||||
|
|
||||||
div#app
|
|
||||||
{
|
|
||||||
color:#666;
|
|
||||||
}
|
|
||||||
|
|
||||||
div#app td
|
|
||||||
{
|
|
||||||
width:50px;
|
|
||||||
height:50px;
|
|
||||||
border:1px solid #dedede;
|
|
||||||
background:#fff;
|
|
||||||
margin:1px;
|
|
||||||
color:#666;
|
|
||||||
text-align: center;
|
|
||||||
line-height: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div#app td:hover
|
|
||||||
{
|
|
||||||
cursor:pointer;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>SCI script tag: Reagent tic-tac-toe</h1>
|
<h1>SCI script tag: Reagent tic-tac-toe</h1>
|
||||||
|
<h2>What is SCI script tag?</h2>
|
||||||
|
<p>Read <a href="index.html">the main page</a> for more details.</p>
|
||||||
|
<h2>Reagent tic tac toe</h2>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<p>The following source was loaded and interpreted
|
<p>The following source was loaded and interpreted
|
||||||
from <a href="cljs/tictactoe.cljs"><tt>cljs/tictactoe.cljs</tt></a> using the
|
from <a href="cljs/tictactoe.cljs"><tt>cljs/tictactoe.cljs</tt></a> using the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue