update component docs - it doesn't support non-master branches

This commit is contained in:
Leo Horie 2014-04-07 11:51:36 -04:00
parent 05630b2b95
commit 2054edae10
3 changed files with 4 additions and 4 deletions

View file

@ -82,9 +82,9 @@
<p>Assuming you have NodeJS installed, you can install Bower by typing this in the command line:</p> <p>Assuming you have NodeJS installed, you can install Bower by typing this in the command line:</p>
<pre><code>npm install -g component</code></pre> <pre><code>npm install -g component</code></pre>
<p>And you can download Mithril by typing this:</p> <p>And you can download Mithril by typing this:</p>
<pre><code>component install lhorie/mithril@gh-pages</code></pre> <pre><code>component install lhorie/mithril</code></pre>
<p>Then, to use Mithril, point a script tag to the downloaded file:</p> <p>Then, to use Mithril, point a script tag to the downloaded file:</p>
<pre><code class="lang-markup">&lt;script src=&quot;/components/lhorie/mithril/gh-pages/mithril.min.js&quot;&gt;&lt;/script&gt;</code></pre> <pre><code class="lang-markup">&lt;script src=&quot;/components/lhorie/mithril/master/mithril.min.js&quot;&gt;&lt;/script&gt;</code></pre>
</div> </div>
</div> </div>

Binary file not shown.

View file

@ -93,11 +93,11 @@ npm install -g component
And you can download Mithril by typing this: And you can download Mithril by typing this:
``` ```
component install lhorie/mithril@gh-pages component install lhorie/mithril
``` ```
Then, to use Mithril, point a script tag to the downloaded file: Then, to use Mithril, point a script tag to the downloaded file:
```markup ```markup
<script src="/components/lhorie/mithril/gh-pages/mithril.min.js"></script> <script src="/components/lhorie/mithril/master/mithril.min.js"></script>
``` ```