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

10 lines
No EOL
202 B
CoffeeScript

define [
"libs/backbone"
], ()->
Change = Backbone.Model.extend
parse: (change) ->
return {
start_ts: change.meta.start_ts
end_ts: change.meta.end_ts
user_id: change.meta.user_id
}