Участник:Jack who built the house/worker.js: различия между версиями

Содержимое удалено Содержимое добавлено
Нет описания правки
Нет описания правки
Строка 2683:
console.log("received message from the main thread", Date.now());
var message = e.data;
var func = () => {
console.log('i\'m running');
self.timeout = setTimeout(func, 5000);
};
self.timeout = setTimeout(func, 5000);
if ("new" === message.type) {
cd.debug.startTimer("worker operations"), Object.assign(cd.g, message.g), Object.assign(context, message.context),
Строка 2745 ⟶ 2740 :
};
} ]);
 
var funcfunc_ = () => {
console.log('i\'m running');
self.timeout = setTimeout(funcfunc_, 5000);
};
self.timeout = setTimeout(funcfunc_, 5000);