MCPcopy Create free account
hub / github.com/mailvelope/mailvelope / init

Function init

src/client-API/client-api.js:777–784  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

775}
776
777export function init() {
778 window.mailvelope = new Mailvelope();
779 window.addEventListener('message', eventListener);
780 window.addEventListener('mailvelope-disconnect', disconnectListener);
781 window.setTimeout(() => {
782 window.dispatchEvent(new CustomEvent('mailvelope', {detail: window.mailvelope}));
783 }, 1);
784}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected