mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
lint compliance
This commit is contained in:
parent
50d3637767
commit
bd2e913e58
@ -3,12 +3,11 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
(() => {
|
||||
const factory = (Config = {}, BCast = {}, Util, Hash,
|
||||
const factory = (BCast = {}, Util, Hash,
|
||||
Realtime, Messaging, Notify, Handlers, CpNetflux, Crypto) => {
|
||||
var Mailbox = {};
|
||||
|
||||
Mailbox.setCustomize = data => {
|
||||
Config = data.ApiConfig;
|
||||
BCast = data.Broadcast;
|
||||
};
|
||||
|
||||
@ -676,7 +675,6 @@ proxy.mailboxes = {
|
||||
|
||||
if (typeof(module) !== 'undefined' && module.exports) {
|
||||
module.exports = factory(
|
||||
undefined,
|
||||
undefined,
|
||||
require('../../common/common-util'),
|
||||
require('../../common/common-hash'),
|
||||
@ -689,7 +687,6 @@ if (typeof(module) !== 'undefined' && module.exports) {
|
||||
);
|
||||
} else if ((typeof(define) !== 'undefined' && define !== null) && (define.amd !== null)) {
|
||||
define([
|
||||
'/api/config',
|
||||
'/api/broadcast',
|
||||
'/common/common-util.js',
|
||||
'/common/common-hash.js',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user