overleaf/services/web/public/coffee/track-changes/models/Change.coffee
2014-03-06 14:08:12 +00:00

11 lines
No EOL
224 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
version: change.v
}