From 563c0d3e29b1a8c097fe8f3ad65204e11fbc3f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=AA=E3=82=AD=E8=90=8C?= Date: Wed, 10 Sep 2025 17:55:27 +0200 Subject: [PATCH] remove console.logs (totally or replace with console.debug) --- static/chunk-allocator.js | 1 - static/index.js | 2 +- static/wall.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/static/chunk-allocator.js b/static/chunk-allocator.js index 12c60e5..e353cdd 100644 --- a/static/chunk-allocator.js +++ b/static/chunk-allocator.js @@ -177,7 +177,6 @@ export class AtlasAllocator { gl.bindBuffer(gl.ARRAY_BUFFER, this.compositeRectVbo); gl.bufferData(gl.ARRAY_BUFFER, this.compositeRectData, gl.DYNAMIC_DRAW); - console.log(this.compositeRectData.byteLength); gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, this.compositeRectIbo); gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, compositeRectIndices, gl.DYNAMIC_DRAW); diff --git a/static/index.js b/static/index.js index 856c4aa..ac04d96 100644 --- a/static/index.js +++ b/static/index.js @@ -287,7 +287,7 @@ function readUrl(urlString) { let data = new Blob(dataParts); - console.log("sending edit data. record count:", editRecords.length, "data blob:", data); + console.debug("sending edit data. record count:", editRecords.length, "data blob:", data); session.sendEdit(editRecords, data); }); diff --git a/static/wall.js b/static/wall.js index 33da1ed..b2aefa1 100644 --- a/static/wall.js +++ b/static/wall.js @@ -89,7 +89,7 @@ export class Layer { let blob = canvas.convertToBlob({ type: "image/png" }); let end = performance.now(); - console.log("encoding image took", end - start, "ms"); + console.debug("encoding image took", end - start, "ms"); encodeTime += end - start; return blob;