From f05e2225d6d6a283d5f3bf97f61c71d18fa0da57 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 6 Jun 2018 18:22:48 +0200 Subject: [PATCH] lint compliance --- www/common/cryptpad-common.js | 2 +- www/common/outer/async-store.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 41305240d..38b2c9318 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -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); diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index 1608c8eda..d8b0c6642 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -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: [],