mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
logging
This commit is contained in:
parent
405ae1308e
commit
903f8e8453
|
@ -928,7 +928,6 @@ var treectl = (function () {
|
|||
treesz = icfg_get('treesz', 16);
|
||||
|
||||
treesz = Math.min(Math.max(treesz, 4), 50);
|
||||
console.log('treesz [' + treesz + ']');
|
||||
|
||||
function entree(e) {
|
||||
ev(e);
|
||||
|
|
|
@ -20,11 +20,12 @@ var up2k = null;
|
|||
try {
|
||||
var cf = crypto.subtle || crypto.webkitSubtle;
|
||||
cf.digest('SHA-512', new Uint8Array(1)).then(
|
||||
function (x) { up2k = up2k_init(cf) },
|
||||
function (x) { up2k = up2k_init(false) }
|
||||
function (x) { console.log('sha-ok'); up2k = up2k_init(cf); },
|
||||
function (x) { console.log('sha-ng:', x); up2k = up2k_init(false); }
|
||||
);
|
||||
}
|
||||
catch (ex) {
|
||||
console.log('sha-na:', ex);
|
||||
try {
|
||||
up2k = up2k_init(false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue