From d70b0ed037d2f6fe8b8b6ac1a13e89b43c0d0b75 Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 20 Oct 2021 12:21:21 +0530 Subject: [PATCH] lint compliance --- www/convert/main.js | 2 +- www/unsafeiframe/inner.js | 18 +++++++++--------- www/unsafeiframe/main.js | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/www/convert/main.js b/www/convert/main.js index 04ab76846..1d74f26b8 100644 --- a/www/convert/main.js +++ b/www/convert/main.js @@ -17,7 +17,7 @@ define([ category = window.location.hash.slice(1); window.location.hash = ''; } - var addRpc = function (sframeChan) { + var addRpc = function (sframeChan, CryptPad, Utils) { // X2T sframeChan.on('Q_OO_CONVERT', function (obj, cb) { obj.modal = 'x2t'; diff --git a/www/unsafeiframe/inner.js b/www/unsafeiframe/inner.js index 34a13cbe1..73374182b 100644 --- a/www/unsafeiframe/inner.js +++ b/www/unsafeiframe/inner.js @@ -6,10 +6,10 @@ define([ '/common/common-interface.js', '/common/common-ui-elements.js', '/common/common-util.js', - '/common/common-hash.js', - '/common/hyperscript.js', - 'json.sortify', - '/customize/messages.js', + //'/common/common-hash.js', + //'/common/hyperscript.js', + //'json.sortify', + //'/customize/messages.js', ], function ( $, Crypto, @@ -17,19 +17,19 @@ define([ SFCommon, UI, UIElements, - Util, + Util /*, Hash, h, Sortify, - Messages) + Messages */) { var APP = window.APP = {}; var andThen = function (common) { - var metadataMgr = common.getMetadataMgr(); + //var metadataMgr = common.getMetadataMgr(); var sframeChan = common.getSframeChannel(); - var $body = $('body'); - var displayed; + //var $body = $('body'); + //var displayed; var create = {}; diff --git a/www/unsafeiframe/main.js b/www/unsafeiframe/main.js index c36d4f641..fc2669d91 100644 --- a/www/unsafeiframe/main.js +++ b/www/unsafeiframe/main.js @@ -4,8 +4,8 @@ define([ '/api/config', 'jquery', '/common/requireconfig.js', - '/customize/messages.js', -], function (nThen, ApiConfig, $, RequireConfig, Messages) { + //'/customize/messages.js', +], function (nThen, ApiConfig, $, RequireConfig /*, Messages */) { var requireConfig = RequireConfig(); var ready = false;