MCPcopy
hub / github.com/SnapDrop/snapdrop / constructor

Method constructor

client/scripts/ui.js:530–543  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

528
529class Snapdrop {
530 constructor() {
531 const server = new ServerConnection();
532 const peers = new PeersManager(server);
533 const peersUI = new PeersUI();
534 Events.on('load', e => {
535 const receiveDialog = new ReceiveDialog();
536 const sendTextDialog = new SendTextDialog();
537 const receiveTextDialog = new ReceiveTextDialog();
538 const toast = new Toast();
539 const notifications = new Notifications();
540 const networkStatusUI = new NetworkStatusUI();
541 const webShareTargetUI = new WebShareTargetUI();
542 });
543 }
544}
545
546const snapdrop = new Snapdrop();

Callers

nothing calls this directly

Calls 1

onMethod · 0.80

Tested by

no test coverage detected