1
0
mirror of https://github.com/moparisthebest/mail synced 2024-08-13 16:43:47 -04:00
mail/src/js/model/folder-model.js
2013-06-10 23:50:26 +02:00

21 lines
284 B
JavaScript

define(['backbone'], function(Backbone) {
'use strict';
app.model.Folder = Backbone.Model.extend({
defaults: {
name: null,
items: null
},
initialize: function() {}
});
app.model.FolderCollection = Backbone.Collection.extend({
model: app.model.Folder
});
});