noveogroup / backbone.iobind

Bind socket.io events to backbone models & collections. Also includes a drop-in replacement for Backbone.sync using socket.io.
https://noveogroup.github.io/backbone.iobind/
582 stars 65 forks source link

Allow backbone url with id for model read/update/delete #60

Open twhtanghk opened 10 years ago

twhtanghk commented 10 years ago

To allow backbone url to read/update/delete model with id

mahnunchik commented 10 years ago

@twhtanghk Hi, Current implementation sends the ID in socketio payload. For more details see tests https://github.com/logicalparadox/backbone.iobind/blob/master/test/sync.js#L65