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
|
|
@ -14,9 +14,11 @@ import {AbstractBasicPromises} from 'Promises/AbstractBasic';
|
|||
|
||||
class AbstractAjaxPromises extends AbstractBasicPromises
|
||||
{
|
||||
oRequests = {};
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.oRequests = {};
|
||||
|
||||
this.clear();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,9 +5,7 @@ import {isArray} from 'Common/Utils';
|
|||
|
||||
class AbstractBasicPromises
|
||||
{
|
||||
constructor() {
|
||||
this.oPromisesStack = {};
|
||||
}
|
||||
oPromisesStack = {};
|
||||
|
||||
func(fFunc) {
|
||||
fFunc();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue