mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
11 lines
207 B
CoffeeScript
11 lines
207 B
CoffeeScript
define [
|
|
"libs/backbone"
|
|
], () ->
|
|
Doc = Backbone.Model.extend
|
|
initialize: () ->
|
|
@set("type", "doc")
|
|
|
|
parse: (rawAttributes) ->
|
|
attributes =
|
|
id: rawAttributes._id
|
|
name: rawAttributes.name
|