From bdd24ed14ff12dd9314b7648ff9e80797e6ea23f Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 14 Nov 2017 11:57:13 +0100 Subject: [PATCH] lint --- www/drive/inner.js | 2 -- www/profile/inner.js | 4 ++-- www/whiteboard/inner.js | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/www/drive/inner.js b/www/drive/inner.js index 144d80eea..8ddc7c968 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -39,8 +39,6 @@ define([ Listmap, Messages) { - var Messages = Cryptpad.Messages; - var APP = window.APP = { editable: false, Cryptpad: Cryptpad, diff --git a/www/profile/inner.js b/www/profile/inner.js index 9320ebe5f..730a537b9 100644 --- a/www/profile/inner.js +++ b/www/profile/inner.js @@ -393,8 +393,8 @@ define([ var onReady = function () { APP.$container.find('#'+CREATE_ID).remove(); - var obj = APP.lm && APP.lm.proxy; - /*if (!APP.readOnly) { + /*var obj = APP.lm && APP.lm.proxy; + if (!APP.readOnly) { var pubKeys = Cryptpad.getPublicKeys(); if (pubKeys && pubKeys.curve) { obj.curveKey = pubKeys.curve; diff --git a/www/whiteboard/inner.js b/www/whiteboard/inner.js index 82eb9e835..491ea0d0e 100644 --- a/www/whiteboard/inner.js +++ b/www/whiteboard/inner.js @@ -595,8 +595,6 @@ define([ } }; - config.onError = onConnectError; - cpNfInner = common.startRealtime(config); metadataMgr = cpNfInner.metadataMgr;