Update ckeditor

Move e2e tests
Code refactoring
This commit is contained in:
RainLoop Team 2016-09-12 23:50:21 +03:00
parent 9993432c7b
commit e5af98b04b
122 changed files with 617 additions and 561 deletions

View file

@ -7,6 +7,8 @@ import {UNUSED_OPTION_VALUE} from 'Common/Consts';
import {isArray, folderListOptionsBuilder} from 'Common/Utils';
import {getFolderInboxName, getFolderFromCacheList} from 'Common/Cache';
import {momentNowUnix} from 'Common/Momentor';
class FolderUserStore
{
constructor() {
@ -157,7 +159,7 @@ class FolderUserStore
const
result = [],
limit = 5,
utc = require('Common/Momentor').momentNowUnix(),
utc = momentNowUnix(),
timeout = utc - 60 * 5,
timeouts = [],
inboxFolderName = getFolderInboxName(),
@ -208,4 +210,4 @@ class FolderUserStore
}
}
module.exports = new FolderUserStore();
export default new FolderUserStore();