From 966bb3dbdb7ed1732ba6bb091ea82be03d16f0d3 Mon Sep 17 00:00:00 2001 From: Brad Dunbar Date: Mon, 18 Jun 2012 09:14:30 -0400 Subject: [PATCH] Update event args for `"destroy"` and `"sync"`. --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index cf199e4b..a41bd4d4 100644 --- a/index.html +++ b/index.html @@ -3266,8 +3266,8 @@ var model = localBackbone.Model.extend(...);
  • "reset" (collection, options) — when the collection's entire contents have been replaced.
  • "change" (model, options) — when a model's attributes have changed.
  • "change:[attribute]" (model, value, options) — when a specific attribute has been updated.
  • -
  • "destroy" (model, collection) — when a model is destroyed.
  • -
  • "sync" (model, collection) — triggers whenever a model has been successfully synced to the server.
  • +
  • "destroy" (model, collection, options) — when a model is destroyed.
  • +
  • "sync" (model, resp, options) — triggers whenever a model has been successfully synced to the server.
  • "error" (model, collection) — when a model's validation fails, or a save call fails on the server.
  • "route:[name]" (router) — when one of a router's routes has matched.
  • "all" — this special event fires for any triggered event, passing the event name as the first argument.