mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Cleanup JS and better terser compression
This commit is contained in:
parent
058217de02
commit
ba7ed497b2
20 changed files with 247 additions and 298 deletions
|
|
@ -352,12 +352,12 @@ class EmailModel {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {boolean} friendlyView
|
||||
* @param {boolean} friendlyView = false
|
||||
* @param {boolean=} wrapWithLink = false
|
||||
* @param {boolean=} useEncodeHtml = false
|
||||
* @returns {string}
|
||||
*/
|
||||
toLine(friendlyView, wrapWithLink = false, useEncodeHtml = false) {
|
||||
toLine(friendlyView, wrapWithLink, useEncodeHtml) {
|
||||
let result = '';
|
||||
if (this.email) {
|
||||
if (friendlyView && this.name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue