scttnlsn / backbone.io

Backbone.js sync via Socket.IO
http://scttnlsn.github.io/backbone.io
541 stars 66 forks source link

Problems with save({}, {error:callback}) #5

Closed phzbox closed 12 years ago

phzbox commented 12 years ago

Without this line, I had trouble making save({}, {error:function(){..}}); works. Basically, Backbone.save shared the same options variable, and that would cause problems (Probably due to the delete options.error). It took me a while to find an explanation to the really weird behavior I had.

scttnlsn commented 12 years ago

Good call. Thanks!