mirror of https://github.com/xwiki-labs/cryptpad
lint compliance
This commit is contained in:
parent
4e3c0f32cf
commit
d70b0ed037
|
@ -17,7 +17,7 @@ define([
|
||||||
category = window.location.hash.slice(1);
|
category = window.location.hash.slice(1);
|
||||||
window.location.hash = '';
|
window.location.hash = '';
|
||||||
}
|
}
|
||||||
var addRpc = function (sframeChan) {
|
var addRpc = function (sframeChan, CryptPad, Utils) {
|
||||||
// X2T
|
// X2T
|
||||||
sframeChan.on('Q_OO_CONVERT', function (obj, cb) {
|
sframeChan.on('Q_OO_CONVERT', function (obj, cb) {
|
||||||
obj.modal = 'x2t';
|
obj.modal = 'x2t';
|
||||||
|
|
|
@ -6,10 +6,10 @@ define([
|
||||||
'/common/common-interface.js',
|
'/common/common-interface.js',
|
||||||
'/common/common-ui-elements.js',
|
'/common/common-ui-elements.js',
|
||||||
'/common/common-util.js',
|
'/common/common-util.js',
|
||||||
'/common/common-hash.js',
|
//'/common/common-hash.js',
|
||||||
'/common/hyperscript.js',
|
//'/common/hyperscript.js',
|
||||||
'json.sortify',
|
//'json.sortify',
|
||||||
'/customize/messages.js',
|
//'/customize/messages.js',
|
||||||
], function (
|
], function (
|
||||||
$,
|
$,
|
||||||
Crypto,
|
Crypto,
|
||||||
|
@ -17,19 +17,19 @@ define([
|
||||||
SFCommon,
|
SFCommon,
|
||||||
UI,
|
UI,
|
||||||
UIElements,
|
UIElements,
|
||||||
Util,
|
Util /*,
|
||||||
Hash,
|
Hash,
|
||||||
h,
|
h,
|
||||||
Sortify,
|
Sortify,
|
||||||
Messages)
|
Messages */)
|
||||||
{
|
{
|
||||||
var APP = window.APP = {};
|
var APP = window.APP = {};
|
||||||
|
|
||||||
var andThen = function (common) {
|
var andThen = function (common) {
|
||||||
var metadataMgr = common.getMetadataMgr();
|
//var metadataMgr = common.getMetadataMgr();
|
||||||
var sframeChan = common.getSframeChannel();
|
var sframeChan = common.getSframeChannel();
|
||||||
var $body = $('body');
|
//var $body = $('body');
|
||||||
var displayed;
|
//var displayed;
|
||||||
|
|
||||||
var create = {};
|
var create = {};
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ define([
|
||||||
'/api/config',
|
'/api/config',
|
||||||
'jquery',
|
'jquery',
|
||||||
'/common/requireconfig.js',
|
'/common/requireconfig.js',
|
||||||
'/customize/messages.js',
|
//'/customize/messages.js',
|
||||||
], function (nThen, ApiConfig, $, RequireConfig, Messages) {
|
], function (nThen, ApiConfig, $, RequireConfig /*, Messages */) {
|
||||||
var requireConfig = RequireConfig();
|
var requireConfig = RequireConfig();
|
||||||
|
|
||||||
var ready = false;
|
var ready = false;
|
||||||
|
|
Loading…
Reference in New Issue