Skip to content

Commit

Permalink
Change callback signature for Model "update" event
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
Floby committed Nov 12, 2013
1 parent 4305847 commit 119e501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -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`
Expand Down

0 comments on commit 119e501

Please sign in to comment.