mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Code refactoring (es5 -> es2015)
This commit is contained in:
parent
fb2e492ce8
commit
38a1041a73
42 changed files with 3081 additions and 3690 deletions
|
|
@ -1593,7 +1593,7 @@ export function mailToHelper(mailToUrl, PopupComposeVoreModel)
|
|||
const
|
||||
email = mailToUrl.replace(/\?.+$/, ''),
|
||||
query = mailToUrl.replace(/^[^\?]*\?/, ''),
|
||||
EmailModel = require('Model/Email'),
|
||||
EmailModel = require('Model/Email').default,
|
||||
emailObj = new EmailModel(),
|
||||
fParseEmailLine = (line) => (line ? _.compact(_.map(decodeURIComponent(line).split(/[,]/), (item) => {
|
||||
emailObj.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue