lint compliance
This commit is contained in:
@@ -182,13 +182,14 @@ define([], function () {
|
||||
});
|
||||
network.historyKeeper = hk;
|
||||
|
||||
var cfg = padData = {
|
||||
var cfg = {
|
||||
validateKey: validateKey,
|
||||
lastKnownHash: lastKnownHash,
|
||||
owners: owners,
|
||||
expire: expire,
|
||||
password: password
|
||||
};
|
||||
padData = cfg;
|
||||
var msg = ['GET_HISTORY', wc.id, cfg];
|
||||
// Add the validateKey if we are the channel creator and we have a validateKey
|
||||
if (hk) { network.sendto(hk, JSON.stringify(msg)); }
|
||||
|
||||
@@ -457,7 +457,7 @@ define([
|
||||
var allFiles = files[FILES_DATA];
|
||||
return Object.keys(allFiles).filter(function (id) {
|
||||
return allFiles[id].owners && allFiles[id].owners.indexOf(edPub) !== -1;
|
||||
}).map(function (k) { return Number(k); });;
|
||||
}).map(function (k) { return Number(k); });
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user