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,13 +77,15 @@
<div class="col(9,9,12)">
<h2 id="m-route">m.route</h2>
<hr>
<p><a href="#defining-routes">Defining routes</a>
<a href="#variadic-routes">Variadic routes</a>
<a href="#routes-with-querystrings">Routes with querystrings</a>
<a href="#running-clean-up-code-on-route-change">Running clean up code on route change</a>
<a href="#redirecting">Redirecting</a>
<a href="#reading-the-currently-active-route">Reading the currently active route</a>
<a href="#mode abstraction">Mode abstraction</a></p>
<ul>
<li><a href="#defining-routes">Defining routes</a></li>
<li><a href="#variadic-routes">Variadic routes</a></li>
<li><a href="#routes-with-querystrings">Routes with querystrings</a></li>
<li><a href="#running-clean-up-code-on-route-change">Running clean up code on route change</a></li>
<li><a href="#redirecting">Redirecting</a></li>
<li><a href="#reading-the-currently-active-route">Reading the currently active route</a></li>
<li><a href="#mode abstraction">Mode abstraction</a></li>
</ul>
<hr>
<p>Routing is a system that allows creating Single-Page-Applications (SPA), i.e. applications that can go from a page to another without causing a full browser refresh.</p>
<p>It enables seamless navigability while preserving the ability to bookmark each page individually, and the ability to navigate the application via the browser&#39;s history mechanism.</p>