Skip to content

Commit

Permalink
add console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
TRMSC committed Nov 2, 2023
1 parent 8762d23 commit 1eee423
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1eee423

Please sign in to comment.