Lint compliance

pull/1/head
yflory 7 years ago
parent 4896fe81fe
commit d1e8baca68

@ -9,9 +9,11 @@ define([
}; };
var create = function (onMsg, postMsg, cb, isWorker) { var create = function (onMsg, postMsg, cb, isWorker) {
var chanLoaded;
var waitingData;
if (!isWorker) { if (!isWorker) {
var chanLoaded = false; chanLoaded = false;
var waitingData = []; waitingData = [];
onMsg.reg(function (data) { onMsg.reg(function (data) {
if (chanLoaded) { return; } if (chanLoaded) { return; }
waitingData.push(data); waitingData.push(data);

Loading…
Cancel
Save