Remove debugging logs

pull/1/head
yflory 7 years ago
parent 6ab29f8f3a
commit ce6779a06f

@ -50,7 +50,6 @@ define([
} else { } else {
obj[key] = data.value; obj[key] = data.value;
} }
console.log('broadcasting displayName');
broadcast([clientId], "UPDATE_METADATA"); broadcast([clientId], "UPDATE_METADATA");
onSync(cb); onSync(cb);
}; };
@ -1060,14 +1059,11 @@ define([
CpNfWorker.start(conf); CpNfWorker.start(conf);
}; };
Store.sendPadMsg = function (clientId, data, cb) { Store.sendPadMsg = function (clientId, data, cb) {
console.log('sendPadMsg ' + data.channel);
var msg = data.msg; var msg = data.msg;
var channel = channels[data.channel]; var channel = channels[data.channel];
if (!channel) { if (!channel) {
console.log('no channel...');
return; } return; }
if (!channel.wc) { if (!channel.wc) {
console.log('no WC, push to queue');
channel.queue.push(msg); channel.queue.push(msg);
return void cb(); return void cb();
} }
@ -1168,8 +1164,6 @@ define([
var driveEventInit = false; var driveEventInit = false;
sendDriveEvent = function (q, data, sender) { sendDriveEvent = function (q, data, sender) {
console.log('driveevent '+q);
console.log(JSON.stringify(driveEventClients));
driveEventClients.forEach(function (cId) { driveEventClients.forEach(function (cId) {
if (cId === sender) { return; } if (cId === sender) { return; }
postMessage(cId, q, data); postMessage(cId, q, data);

Loading…
Cancel
Save