Files
GNX-mailEnterprise/frontend/node_modules/broadcast-channel/dist/es/index.es5.js
Iliyan Angelov c67067a2a4 Mail
2025-09-14 23:24:25 +03:00

16 lines
584 B
JavaScript

/**
* because babel can only export on default-attribute,
* we use this for the non-module-build
* this ensures that users do not have to use
* var BroadcastChannel = require('broadcast-channel').default;
* but
* var BroadcastChannel = require('broadcast-channel');
*/
import { BroadcastChannel, createLeaderElection, clearNodeFolder, enforceOptions, beLeader } from './index.js';
module.exports = {
BroadcastChannel: BroadcastChannel,
createLeaderElection: createLeaderElection,
clearNodeFolder: clearNodeFolder,
enforceOptions: enforceOptions,
beLeader: beLeader
};