lint compliance

This commit is contained in:
yflory
2019-09-10 18:37:11 +02:00
parent 1b31d8f7c6
commit 222ea650d1
3 changed files with 11 additions and 14 deletions

View File

@@ -77,7 +77,6 @@ define([
var pin = function (data, cb) { return void cb({error: 'EFORBIDDEN'}); };
var unpin = function (data, cb) { return void cb({error: 'EFORBIDDEN'}); };
var removeOwnedChannel = function (data, cb) {};
nThen(function (waitFor) {
if (!keys.edPrivate) { return; }
initRpc(ctx, team, keys, waitFor(function (err) {
@@ -101,7 +100,7 @@ define([
});
};
}));
}).nThen(function (waitFor) {
}).nThen(function () {
var loadSharedFolder = function (id, data, cb) {
SF.load({
network: ctx.store.network,
@@ -145,7 +144,7 @@ define([
// XXX
// Load shared folders
// Load members pad
console.log('ok');
console.log('ok', waitFor);
}).nThen(function () {
ctx.teams[id] = team;
if (ctx.onReadyHandlers[id]) {
@@ -195,7 +194,6 @@ define([
console.log(data);
var teams = ctx.store.teams;
var password = Hash.createChannelId();
var hash = Hash.createRandomHash('team', password);
var secret = Hash.getSecrets('team', hash, password);