Commit 587cd7ac authored by Skye Yu's avatar Skye Yu

chore: comment some console log

parent 6cb4b0df
...@@ -424,7 +424,7 @@ function Jensen(log) { ...@@ -424,7 +424,7 @@ function Jensen(log) {
} }
buffLength = buffLength - startIndex; buffLength = buffLength - startIndex;
} }
console.error('Decode: ' + (new Date().getTime() - stime.getTime()) + 'ms'); // console.error('Decode: ' + (new Date().getTime() - stime.getTime()) + 'ms');
}; };
const decodeMessage = function (dataView, startIndex, buffLength) { const decodeMessage = function (dataView, startIndex, buffLength) {
...@@ -857,7 +857,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress) ...@@ -857,7 +857,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
if (msg != null) { if (msg != null) {
flen += msg.body.length || msg.body.byteLength; flen += msg.body.length || msg.body.byteLength;
ondata(msg.body); ondata(msg.body);
Logger.info('jensen', 'getFile length', `${length} ${flen}`); // Logger.info('jensen', 'getFile length', `${length} ${flen}`);
if (flen >= length) { if (flen >= length) {
// document.removeEventListener('visibilitychange', visibilitychange); // document.removeEventListener('visibilitychange', visibilitychange);
Logger.info('jensen', 'getFile', 'file transfer finish.'); Logger.info('jensen', 'getFile', 'file transfer finish.');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment