overleaf/services/web/public/coffee/track-changes/models/Change.coffee

11 lines
218 B
CoffeeScript
Raw Normal View History

define [
"libs/backbone"
], ()->
Change = Backbone.Model.extend
parse: (change) ->
return {
start_ts: change.meta.start_ts
end_ts: change.meta.end_ts
2014-03-06 13:13:07 -05:00
user: change.meta.user
2014-03-06 09:08:12 -05:00
version: change.v
}