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,10 +77,12 @@
<div class="col(9,9,12)">
<h2 id="m-redraw">m.redraw</h2>
<hr>
<p><a href="#changing-redraw-strategy">Changing redraw strategy</a>
<a href="#preventing-redraws-on-events">Preventing redraws on events</a>
<a href="#forcing-redraw">Forcing redraw</a>
<a href="#signature">Signature</a></p>
<ul>
<li><a href="#changing-redraw-strategy">Changing redraw strategy</a></li>
<li><a href="#preventing-redraws-on-events">Preventing redraws on events</a></li>
<li><a href="#forcing-redraw">Forcing redraw</a></li>
<li><a href="#signature">Signature</a></li>
</ul>
<hr>
<p>Redraws the view for the currently active module. Use <a href="mithril.module.html"><code>m.module()</code></a> to activate a module.</p>
<p>This method is called internally by Mithril&#39;s auto-redrawing system. Usually you don&#39;t need to call it manually unless you are doing recurring asynchronous operations (i.e. using <code>setInterval</code>) or if you want to decouple slow running background requests from the rendering context (see the <code>background</code> option in <a href="mithril.request.html"><code>m.request</code></a>.</p>