lint compliance

This commit is contained in:
yflory 2018-06-06 18:22:48 +02:00
parent 78ff55e34e
commit f05e2225d6
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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: [],