From 1eee4238563e4b99603b38ea197eaf0d084b8525 Mon Sep 17 00:00:00 2001 From: TRMSC Date: Thu, 2 Nov 2023 14:40:22 +0100 Subject: [PATCH] add console.log --- docs/src/script.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/script.js b/docs/src/script.js index dcbc255..6085bd4 100644 --- a/docs/src/script.js +++ b/docs/src/script.js @@ -335,9 +335,13 @@ generateScene = () => { // Handle template content console.log(fetchedContent); templateContent = fetchedContent.replace(/\$URL/g, url); + console.log(templateContent); templateContent = templateContent.replace(/\$WIDTH/g, wInput.value); + console.log(templateContent); templateContent = templateContent.replace(/\$HEIGHT/g, hInput.value); + console.log(templateContent); templateContent = templateContent.replace(/\$ALT/g, altInput.value); + console.log(templateContent); }) .catch(error => { console.error('Fetch error:', error);