From 119e501a47c6f348ffc0e63da89fcf26a5ce5e90 Mon Sep 17 00:00:00 2001 From: Florent Jaby Date: Tue, 12 Nov 2013 14:23:22 +0100 Subject: [PATCH] Change callback signature for Model "update" event I'm not sure this is exactly how the parameters should be named. The important fact is that the first argument is actually an array of [key, value] --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index cd74310..e9cfa2b 100644 --- a/README.markdown +++ b/README.markdown @@ -239,7 +239,7 @@ Get a property. Set a property. -#### on('update', function (key, value, source)) +#### on('update', function ([key, value], source, updateId)) Emmitted when a property changes. If `source !== this.id`