mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Code refactoring (5) (es5 -> es2015)
This commit is contained in:
parent
c148e19ea3
commit
cec53b111f
68 changed files with 2210 additions and 2472 deletions
|
|
@ -4,6 +4,7 @@ var
|
|||
_ = require('_'),
|
||||
$ = require('$'),
|
||||
ko = require('ko'),
|
||||
key = require('key'),
|
||||
JSON = require('JSON'),
|
||||
Jua = require('Jua'),
|
||||
|
||||
|
|
@ -928,7 +929,10 @@ ComposePopupView.prototype.setSignatureFromIdentity = function(oIdentity)
|
|||
{
|
||||
var self = this;
|
||||
this.editor(function(oEditor) {
|
||||
var bHtml = false, sSignature = oIdentity.signature();
|
||||
var
|
||||
bHtml = false,
|
||||
sSignature = oIdentity.signature();
|
||||
|
||||
if ('' !== sSignature)
|
||||
{
|
||||
if (':HTML:' === sSignature.substr(0, 6))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue