lint compliance

This commit is contained in:
yflory 2025-03-04 16:32:48 +01:00
parent 50d3637767
commit bd2e913e58

View File

@ -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',