MCPcopy Create free account
hub / github.com/SnapDrop/snapdrop / Snapdrop

Class Snapdrop

client/scripts/ui.js:529–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527
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();
547

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected