mirror of
https://github.com/moparisthebest/mail
synced 2024-08-13 16:43:47 -04:00
25 lines
389 B
JavaScript
25 lines
389 B
JavaScript
|
'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) {
|
||
|
}
|
||
|
|
||
|
});
|