Documentation request in #599

This commit is contained in:
Jeremy Ashkenas
2012-01-11 11:56:01 -05:00
parent 780ddd393c
commit df716504cb

View File

@@ -1484,10 +1484,11 @@ var othello = NYPL.create({
<p id="Router-extend">
<b class="header">extend</b><code>Backbone.Router.extend(properties, [classProperties])</code>
<br />
Get started by creating a custom router class. You'll
want to define actions that are triggered when certain URL fragments are
Get started by creating a custom router class. Define actions that are
triggered when certain URL fragments are
matched, and provide a <a href="#Router-routes">routes</a> hash
that pairs routes to actions.
that pairs routes to actions. Note that you'll want to avoid using a
leading slash in your route definitions:
</p>
<pre>