Cleanup JS and better terser compression

This commit is contained in:
djmaze 2020-10-09 11:58:15 +02:00
parent 058217de02
commit ba7ed497b2
20 changed files with 247 additions and 298 deletions

View file

@ -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) {