Merge branch 'staging' into soon

pull/1/head
ansuz 3 years ago
commit 0a92c968d7

@ -2547,7 +2547,7 @@ define([
// Use the async store in the main thread if workers are not available // Use the async store in the main thread if workers are not available
require(['/common/outer/noworker.js'], waitFor2(function (NoWorker) { require(['/common/outer/noworker.js'], waitFor2(function (NoWorker) {
NoWorker.onMessage(function (data) { NoWorker.onMessage(function (data) {
msgEv.fire({data: data}); msgEv.fire({data: data, origin: ''});
}); });
postMsg = function (d) { setTimeout(function () { NoWorker.query(d); }); }; postMsg = function (d) { setTimeout(function () { NoWorker.query(d); }); };
NoWorker.create(); NoWorker.create();

@ -86,7 +86,7 @@ define([
return { return {
query: function (data) { query: function (data) {
msgEv.fire({data: data}); msgEv.fire({data: data, origin: ''});
}, },
onMessage: function (cb) { onMessage: function (cb) {
sendMsg.reg(function (data) { sendMsg.reg(function (data) {

Loading…
Cancel
Save