engine/app/assets/javascripts/locomotive/models/page.js.coffee

7 lines
248 B
CoffeeScript

class Locomotive.Models.Page extends Backbone.Model
initialize: ->
@set
editable_elements: new Locomotive.Models.EditableElementsCollection(@get('editable_elements'))
class Locomotive.Models.PagesCollection extends Backbone.Collection