tweaking catalog of events

This commit is contained in:
Jeremy Ashkenas
2012-12-14 16:01:23 -05:00
parent 31655fc6b2
commit 8a4af7212e

View File

@@ -821,8 +821,8 @@ view.stopListening(model);
<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>