Files
boc/cc-frontend/node_modules/broadcast-channel/src/index.es5.js
T

25 lines
534 B
JavaScript
Raw Normal View History

/**
* 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,
createLeaderElection,
clearNodeFolder,
enforceOptions,
beLeader
};