From ed2ae72c115c56d5a4a79396a55180a11bf4e5e3 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 9 Sep 2019 14:53:37 +0200 Subject: [PATCH] lint compliance --- www/common/cryptpad-common.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index aafab7755..1cdfda3e9 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -758,9 +758,6 @@ define([ pad.onErrorEvent = Util.mkEvent(); pad.onMetadataEvent = Util.mkEvent(); - pad.getPadMetadata = function (data, cb) { - }; - pad.requestAccess = function (data, cb) { postMessage("REQUEST_PAD_ACCESS", data, cb); }; @@ -840,7 +837,7 @@ define([ try { m = newCrypto.encrypt(oldCrypto.decrypt(mailbox, true, true)); } catch (e) {} - } else if (mailbox && typeof(mailbox) == "object") { + } else if (mailbox && typeof(mailbox) === "object") { m = {}; Object.keys(mailbox).forEach(function (ed) { console.log(mailbox[ed]);