redgeoff / delta-pouch

Conflict-free collaborative editing for PouchDB
196 stars 13 forks source link

saveChanges shouldn't modify item #17

Closed redgeoff closed 10 years ago

redgeoff commented 10 years ago

Clone item in https://github.com/redgeoff/delta-pouch/blob/master/index.js#L108 so that original value isn't modified.