mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Code refactoring (4) (es5 -> es2015)
This commit is contained in:
parent
e8df1cdb57
commit
d7ab67a460
30 changed files with 164 additions and 173 deletions
|
|
@ -151,4 +151,4 @@ AccountsUserSettings.prototype.onBuild = function(oDom)
|
|||
});
|
||||
};
|
||||
|
||||
module.exports = AccountsUserSettings;
|
||||
export {AccountsUserSettings, AccountsUserSettings as default};
|
||||
|
|
@ -114,4 +114,4 @@ ChangePasswordUserSettings.prototype.onChangePasswordResponse = function(sResult
|
|||
}
|
||||
};
|
||||
|
||||
module.exports = ChangePasswordUserSettings;
|
||||
export {ChangePasswordUserSettings, ChangePasswordUserSettings as default};
|
||||
|
|
@ -48,4 +48,4 @@ ContactsUserSettings.prototype.onBuild = function()
|
|||
}, this);
|
||||
};
|
||||
|
||||
module.exports = ContactsUserSettings;
|
||||
export {ContactsUserSettings, ContactsUserSettings as default};
|
||||
|
|
@ -231,4 +231,4 @@ FiltersUserSettings.prototype.onShow = function()
|
|||
this.updateList();
|
||||
};
|
||||
|
||||
module.exports = FiltersUserSettings;
|
||||
export {FiltersUserSettings, FiltersUserSettings as default};
|
||||
|
|
@ -189,4 +189,4 @@ FoldersUserSettings.prototype.checkableFalseFolder = function(oFolder)
|
|||
oFolder.checkable(false);
|
||||
};
|
||||
|
||||
module.exports = FoldersUserSettings;
|
||||
export {FoldersUserSettings, FoldersUserSettings as default};
|
||||
|
|
@ -221,4 +221,4 @@ GeneralUserSettings.prototype.selectLanguage = function()
|
|||
]);
|
||||
};
|
||||
|
||||
module.exports = GeneralUserSettings;
|
||||
export {GeneralUserSettings, GeneralUserSettings as default};
|
||||
|
|
@ -73,4 +73,4 @@ OpenPgpUserSettings.prototype.deleteOpenPgpKey = function(oOpenPgpKeyToRemove)
|
|||
}
|
||||
};
|
||||
|
||||
module.exports = OpenPgpUserSettings;
|
||||
export {OpenPgpUserSettings, OpenPgpUserSettings as default};
|
||||
|
|
@ -65,4 +65,4 @@ SecurityUserSettings.prototype.onBuild = function()
|
|||
}
|
||||
};
|
||||
|
||||
module.exports = SecurityUserSettings;
|
||||
export {SecurityUserSettings, SecurityUserSettings as default};
|
||||
|
|
@ -70,4 +70,4 @@ function SocialUserSettings()
|
|||
});
|
||||
}
|
||||
|
||||
module.exports = SocialUserSettings;
|
||||
export {SocialUserSettings, SocialUserSettings as default};
|
||||
|
|
@ -95,4 +95,4 @@ TemplatesUserSettings.prototype.onBuild = function(oDom)
|
|||
this.reloadTemplates();
|
||||
};
|
||||
|
||||
module.exports = TemplatesUserSettings;
|
||||
export {TemplatesUserSettings, TemplatesUserSettings as default};
|
||||
|
|
@ -174,4 +174,4 @@ ThemesUserSettings.prototype.initUploader = function()
|
|||
}
|
||||
};
|
||||
|
||||
module.exports = ThemesUserSettings;
|
||||
export {ThemesUserSettings, ThemesUserSettings as default};
|
||||
Loading…
Add table
Add a link
Reference in a new issue