@ -858,7 +858,7 @@ define([
});
postMessage = function (cmd, data, cb) {
cb = cb || function () {}
cb = cb || function () {};
chan.query(cmd, data, function (err, data) {
if (err) { return void cb ({error: err}); }
cb(data);
@ -950,7 +950,7 @@ define([
var channels = Store.channels = {};
Store.joinPad = function (clientId, data, cb) {
Store.joinPad = function (clientId, data) {
var isNew = typeof channels[data.channel] === "undefined";
var channel = channels[data.channel] = channels[data.channel] || {
queue: [],