fix formatting in docs

This commit is contained in:
Leo Horie 2014-09-27 21:01:00 -04:00
parent 30879a1d78
commit b559118832
27 changed files with 248 additions and 116 deletions

View file

@ -77,12 +77,14 @@
<div class="col(9,9,12)">
<h2 id="m-deferred">m.deferred</h2>
<hr>
<p><a href="#usage">Usage</a>
<a href="#retrieving-a-value-via-the-getter-setter-api">Retrieving a value via the getter-setter API</a>
<a href="#integrating-to-the-mithril-redrawing-system">Integrating to the Mithril redrawing system</a>
<a href="#differences-from-promises-a-">Differences from Promises/A+</a>
<a href="#the-exception-monitor">The exception monitor</a>
<a href="#signature">Signature</a></p>
<ul>
<li><a href="#usage">Usage</a></li>
<li><a href="#retrieving-a-value-via-the-getter-setter-api">Retrieving a value via the getter-setter API</a></li>
<li><a href="#integrating-to-the-mithril-redrawing-system">Integrating to the Mithril redrawing system</a></li>
<li><a href="#differences-from-promises-a-">Differences from Promises/A+</a></li>
<li><a href="#the-exception-monitor">The exception monitor</a></li>
<li><a href="#signature">Signature</a></li>
</ul>
<hr>
<p>This is a low-level method in Mithril. It&#39;s a modified version of the Thenable API.</p>
<p>A deferred is an asynchrony monad. It exposes a <code>promise</code> property which can <em>bind</em> callbacks to build a computation tree.</p>