mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Code refactoring
Flow first look
This commit is contained in:
parent
2f841524cb
commit
e6e0b02849
71 changed files with 2092 additions and 1836 deletions
|
|
@ -4,13 +4,15 @@ import {isArray, disposeObject} from 'Common/Utils';
|
|||
|
||||
class AbstractModel
|
||||
{
|
||||
sModelName = '';
|
||||
disposables = [];
|
||||
|
||||
/**
|
||||
* @param {string} modelName
|
||||
* @param {string} modelName = ''
|
||||
*/
|
||||
constructor(modelName)
|
||||
constructor(modelName = '')
|
||||
{
|
||||
this.sModelName = modelName || '';
|
||||
this.disposables = [];
|
||||
}
|
||||
|
||||
regDisposables(value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue