mirror of https://github.com/xwiki-labs/cryptpad
remove XXXs
This commit is contained in:
parent
698c2f946e
commit
003a616c81
|
@ -15,7 +15,6 @@ var factory = function (Util, Crypto, Nacl) {
|
|||
.decodeUTF8(JSON.stringify(list))));
|
||||
};
|
||||
|
||||
// XXX move this code?
|
||||
Hash.generateSignPair = function () {
|
||||
var ed = Nacl.sign.keyPair();
|
||||
var makeSafe = function (key) {
|
||||
|
@ -152,7 +151,7 @@ Version 1
|
|||
var k;
|
||||
// Check if we have a ownerKey for this pad
|
||||
hashArr.some(function (data) {
|
||||
if (data.length === 86) { // XXX 88 characters - 2 trailing "="...
|
||||
if (data.length === 86) {
|
||||
k = data;
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -17,7 +17,6 @@ var factory = function (Util, Cred, Nacl) {
|
|||
};
|
||||
};
|
||||
|
||||
// XXX move this function?
|
||||
Invite.generateSignPair = function () {
|
||||
var ed = Nacl.sign.keyPair();
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue