overleaf/services/web/public/coffee/models/Doc.coffee

12 lines
207 B
CoffeeScript
Raw Normal View History

2014-02-12 05:23:40 -05:00
define [
"libs/backbone"
], () ->
Doc = Backbone.Model.extend
initialize: () ->
@set("type", "doc")
parse: (rawAttributes) ->
attributes =
id: rawAttributes._id
name: rawAttributes.name