mirror of https://github.com/xwiki-labs/cryptpad
lint compliance
This commit is contained in:
parent
84249a92b5
commit
ed2ae72c11
|
@ -758,9 +758,6 @@ define([
|
||||||
pad.onErrorEvent = Util.mkEvent();
|
pad.onErrorEvent = Util.mkEvent();
|
||||||
pad.onMetadataEvent = Util.mkEvent();
|
pad.onMetadataEvent = Util.mkEvent();
|
||||||
|
|
||||||
pad.getPadMetadata = function (data, cb) {
|
|
||||||
};
|
|
||||||
|
|
||||||
pad.requestAccess = function (data, cb) {
|
pad.requestAccess = function (data, cb) {
|
||||||
postMessage("REQUEST_PAD_ACCESS", data, cb);
|
postMessage("REQUEST_PAD_ACCESS", data, cb);
|
||||||
};
|
};
|
||||||
|
@ -840,7 +837,7 @@ define([
|
||||||
try {
|
try {
|
||||||
m = newCrypto.encrypt(oldCrypto.decrypt(mailbox, true, true));
|
m = newCrypto.encrypt(oldCrypto.decrypt(mailbox, true, true));
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
} else if (mailbox && typeof(mailbox) == "object") {
|
} else if (mailbox && typeof(mailbox) === "object") {
|
||||||
m = {};
|
m = {};
|
||||||
Object.keys(mailbox).forEach(function (ed) {
|
Object.keys(mailbox).forEach(function (ed) {
|
||||||
console.log(mailbox[ed]);
|
console.log(mailbox[ed]);
|
||||||
|
|
Loading…
Reference in New Issue