update docs for component
This commit is contained in:
parent
f564844bb9
commit
07c4e0bdd2
5 changed files with 14 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
|||
"keywords": ["mvc", "framework"],
|
||||
"repository": "lhorie/mithril",
|
||||
"main": "mithril.js",
|
||||
"scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"],
|
||||
"scripts": ["mithril.js"],
|
||||
"version": "0.1.17",
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
<p>And you can download Mithril by typing this:</p>
|
||||
<pre><code>component install lhorie/mithril</code></pre>
|
||||
<p>Then, to use Mithril, point a script tag to the downloaded file:</p>
|
||||
<pre><code class="lang-markup"><script src="/components/lhorie/mithril/master/mithril.min.js"></script></code></pre>
|
||||
<pre><code class="lang-markup"><script src="/components/lhorie/mithril/master/mithril.js"></script></code></pre>
|
||||
<hr>
|
||||
<h3 id="rails">Rails</h3>
|
||||
<p>Jordan Humphreys created a gem to allow integration with Rails:</p>
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue