Skip to content

Commit

Permalink
tweaking catalog of events
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Dec 14, 2012
1 parent 31655fc commit 8a4af72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Expand Up @@ -821,8 +821,8 @@ <h2 id="Events">Backbone.Events</h2>
<li><b>"request"</b> (model, xhr, options) &mdash; when a model (or collection) has started a request to the server. </li>
<li><b>"sync"</b> (model, resp, options) &mdash; when a model has been successfully synced with the server. </li>
<li><b>"error"</b> (model, collection) &mdash; when a model's validation fails, or a <a href="#Model-save">save</a> call fails on the server. </li>
<li><b>"route"</b> (history) &mdash; when any route has been matched. </li>
<li><b>"route:[name]"</b> (router) &mdash; when one of a router's routes has matched. </li>
<li><b>"route:[name]"</b> (params) &mdash; Fired by the router when a specific route is matched.</li>
<li><b>"route"</b> (router, route, params) &mdash; Fired by history when <i>any</i> route has been matched.</li>
<li><b>"all"</b> &mdash; this special event fires for <i>any</i> triggered event, passing the event name as the first argument. </li>
</ul>

Expand Down

0 comments on commit 8a4af72

Please sign in to comment.