mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Code refactoring (es5 -> es2015)
This commit is contained in:
parent
fb2e492ce8
commit
38a1041a73
42 changed files with 3081 additions and 3690 deletions
|
|
@ -118,7 +118,7 @@ FiltersUserSettings.prototype.updateList = function()
|
|||
{
|
||||
var
|
||||
self = this,
|
||||
FilterModel = require('Model/Filter');
|
||||
FilterModel = require('Model/Filter').default;
|
||||
|
||||
if (!this.filters.loading())
|
||||
{
|
||||
|
|
@ -176,7 +176,7 @@ FiltersUserSettings.prototype.addFilter = function()
|
|||
{
|
||||
var
|
||||
self = this,
|
||||
FilterModel = require('Model/Filter'),
|
||||
FilterModel = require('Model/Filter').default,
|
||||
oNew = new FilterModel();
|
||||
|
||||
oNew.generateID();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue