MCPcopy
hub / github.com/cryptpad/cryptpad / _sendCb

Function _sendCb

www/cryptpad-api.js:34–36  ·  view source on GitHub ↗
(txid, args)

Source from the content-addressed store, hash-verified

32
33 var iWindow = iframe.contentWindow;
34 var _sendCb = function (txid, args) {
35 iWindow.postMessage({ ack: txid, args: args}, iOrigin);
36 };
37 var onMsg = function (ev) {
38 if (ev.source !== iWindow) { return; }
39 var data = ev.data;

Callers 1

onMsgFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected