jshint -> eslint

This commit is contained in:
RainLoop Team 2016-06-27 23:54:38 +03:00
parent 40b3f929e9
commit 77a1d3f3df
100 changed files with 716 additions and 811 deletions

View file

@ -51,10 +51,10 @@
return false;
}
oUserId['email'] = this.email();
oUserId.email = this.email();
if ('' !== this.name())
{
oUserId['name'] = this.name();
oUserId.name = this.name();
}
this.submitRequest(true);
@ -66,9 +66,9 @@
try {
mPromise = PgpStore.openpgp.generateKey({
'userIds': [oUserId],
'numBits': Utils.pInt(self.keyBitLength()),
'passphrase': Utils.trim(self.password())
userIds: [oUserId],
numBits: Utils.pInt(self.keyBitLength()),
passphrase: Utils.trim(self.password())
});
mPromise.then(function (mKeyPair) {
@ -86,7 +86,7 @@
Utils.delegateRun(self, 'cancelCommand');
}
})['catch'](function() {
}).then(null, function() {
self.submitRequest(false);
});
}
@ -129,4 +129,4 @@
module.exports = NewOpenPgpKeyPopupView;
}());
}());