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;