update build
This commit is contained in:
parent
0cea249a5b
commit
4c66593abf
|
@ -1,11 +1,7 @@
|
||||||
body
|
|
||||||
{
|
|
||||||
font-family: Arial;
|
|
||||||
}
|
|
||||||
|
|
||||||
div#app
|
div#app
|
||||||
{
|
{
|
||||||
color:#666;
|
color:#666;
|
||||||
|
font-family: Arial;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#app td
|
div#app td
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
download your own copy and host it yourself.
|
download your own copy and host it yourself.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2><a href="#usage">Usage</a></h2>
|
<h2><a name="usage">Usage</a></h2>
|
||||||
|
|
||||||
Include <tt>sci-script-tag.js</tt> and write a <tt>script</tt> tag
|
Include <tt>sci-script-tag.js</tt> and write a <tt>script</tt> tag
|
||||||
where <tt>type</tt> is set
|
where <tt>type</tt> is set
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
Click me!
|
Click me!
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<h2><a href="#src">Source from file</a></h2>
|
<h2><a name="src">Source from file</a></h2>
|
||||||
|
|
||||||
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:
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
<script src="cljs/script.cljs" type="application/x-sci"></script>
|
<script src="cljs/script.cljs" type="application/x-sci"></script>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<h2><a href="#reagent">Reagent plugin<a/></h2>
|
<h2><a name="reagent">Reagent plugin<a/></h2>
|
||||||
|
|
||||||
To enable <a href="https://github.com/reagent-project/reagent">reagent</a>,
|
To enable <a href="https://github.com/reagent-project/reagent">reagent</a>,
|
||||||
in addition to <tt>sci-script-tag.js</tt>, you need to include <tt>sci-script-tag-plugin-reagent.js</tt>.
|
in addition to <tt>sci-script-tag.js</tt>, you need to include <tt>sci-script-tag-plugin-reagent.js</tt>.
|
||||||
|
|
Loading…
Reference in a new issue