MCPcopy Create free account
hub / github.com/cryptpad/cryptpad / refresh

Function refresh

www/unsafeiframe/main.js:130–140  ·  view source on GitHub ↗
(data, cb)

Source from the content-addressed store, hash-verified

128 });
129 });
130 var refresh = function (data, cb) {
131 if (!ready) {
132 ready = function () {
133 refresh(data, cb);
134 };
135 return;
136 }
137 sframeChan.query('Q_COMMAND', data, function (err, obj) {
138 cb(obj);
139 }, {raw: true});
140 };
141 return {
142 refresh: refresh
143 };

Callers

nothing calls this directly

Calls 1

cbFunction · 0.50

Tested by

no test coverage detected