mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
chore: lint compliance
This commit is contained in:
parent
2c06cffd4a
commit
618a71bffe
@ -103,7 +103,7 @@ const factory = (Util, Nacl, CPNetflux, Crypto) => {
|
||||
const { store, Store } = config;
|
||||
|
||||
const ctx = { store, Store };
|
||||
const form = {}
|
||||
const form = {};
|
||||
|
||||
form.getResponses = (cId, data, cb) => {
|
||||
return getResponses(ctx, data, cb);
|
||||
|
||||
@ -140,18 +140,8 @@ define([
|
||||
var cb = Utils.Util.once(_cb);
|
||||
var myKeys = {};
|
||||
var myFormKeys;
|
||||
var accessKeys;
|
||||
var CPNetflux, Pinpad;
|
||||
var network;
|
||||
var noDriveAnswered = false;
|
||||
nThen(function (w) {
|
||||
require([
|
||||
'chainpad-netflux',
|
||||
'/common/pinpad.js',
|
||||
], w(function (_CPNetflux, _Pinpad) {
|
||||
CPNetflux = _CPNetflux;
|
||||
Pinpad = _Pinpad;
|
||||
}));
|
||||
var personalDrive = !Cryptpad.initialTeam || Cryptpad.initialTeam === -1;
|
||||
Cryptpad.getAccessKeys(w(function (_keys) {
|
||||
if (!Array.isArray(_keys)) { return; }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user