[Pkg-javascript-commits] [backbone] 121/281: Fixes #732

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:02:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.9.0
in repository backbone.

commit 1400eea12a0bb067dc3997774937479fb3ee457f
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Tue Dec 6 16:39:37 2011 -0500

    Fixes #732
---
 index.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.html b/index.html
index c3ac240..258cc54 100644
--- a/index.html
+++ b/index.html
@@ -2657,8 +2657,8 @@ var model = localBackbone.Model.extend(...);
       <li><b>"add"</b> (model, collection) — when a model is added to a collection. </li>
       <li><b>"remove"</b> (model, collection) — when a model is removed from a collection. </li>
       <li><b>"reset"</b> (collection) — when the collection's entire contents have been replaced. </li>
-      <li><b>"change"</b> (model, collection) — when a model's attributes have changed. </li>
-      <li><b>"change:[attribute]"</b> (model, collection) — when a specific attribute has been updated. </li>
+      <li><b>"change"</b> (model, options) — when a model's attributes have changed. </li>
+      <li><b>"change:[attribute]"</b> (model, value, options) — when a specific attribute has been updated. </li>
       <li><b>"destroy"</b> (model, collection) — when a model is <a href="#Model-destroy">destroyed</a>. </li>
       <li><b>"error"</b> (model, collection) — when a model's validation fails, or a <a href="#Model-save">save</a> call fails on the server. </li>
       <li><b>"route:[name]"</b> (router) — when one of a router's routes has matched. </li>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git



More information about the Pkg-javascript-commits mailing list