lint compliance

pull/1/head
yflory 7 years ago
parent 78ff55e34e
commit f05e2225d6

@ -858,7 +858,7 @@ define([
}); });
postMessage = function (cmd, data, cb) { postMessage = function (cmd, data, cb) {
cb = cb || function () {} cb = cb || function () {};
chan.query(cmd, data, function (err, data) { chan.query(cmd, data, function (err, data) {
if (err) { return void cb ({error: err}); } if (err) { return void cb ({error: err}); }
cb(data); cb(data);

@ -950,7 +950,7 @@ define([
var channels = Store.channels = {}; var channels = Store.channels = {};
Store.joinPad = function (clientId, data, cb) { Store.joinPad = function (clientId, data) {
var isNew = typeof channels[data.channel] === "undefined"; var isNew = typeof channels[data.channel] === "undefined";
var channel = channels[data.channel] = channels[data.channel] || { var channel = channels[data.channel] = channels[data.channel] || {
queue: [], queue: [],

Loading…
Cancel
Save