From 59a354027e9288aad8549787a436db8de0594a26 Mon Sep 17 00:00:00 2001 From: anomalist Date: Thu, 6 Jul 2023 21:36:10 -0400 Subject: [PATCH] Update 'src/views/StatisticsView.vue' Clean up spurious comment. --- src/views/StatisticsView.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/views/StatisticsView.vue b/src/views/StatisticsView.vue index c06256ef..ec66cf79 100644 --- a/src/views/StatisticsView.vue +++ b/src/views/StatisticsView.vue @@ -39,15 +39,7 @@ :alertMessage="alertMessage" > - /** - // from https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob#examples -// Adds a blank image const dataBlob = document -.querySelector("#scene-container") .firstChild.toBlob((blob) => { const newImg = -document.createElement("img"); const url = URL.createObjectURL(blob); -newImg.onload = () => { // no longer need to read the blob so it's revoked -URL.revokeObjectURL(url); }; newImg.src = url; -document.body.appendChild(newImg); }); **/ - +