1
0
mirror of https://github.com/moparisthebest/mail synced 2024-08-13 16:43:47 -04:00
mail/src/js/model/account-model.js

25 lines
389 B
JavaScript
Raw Normal View History

2013-03-13 11:58:46 -04:00
'use strict';
app.model.Account = Backbone.Model.extend({
defaults: {
emailAddress: null,
symKeySize: null,
symIvSize: null,
folders: null
},
initialize: function () {
this.set('folders', new app.model.FolderCollection());
}
});
app.model.AccountCollection = Backbone.Collection.extend({
model: app.model.Account,
findByName: function (key) {
}
});