Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TRMSC committed Nov 2, 2023
1 parent 0e38234 commit 47c3afe
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions docs/src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,21 +353,6 @@ generateScene = () => {
console.error('Fetch error:', error);
});

// TEMPORARY: Usage of a dummy code
// let templateContent = '<svg id="example"><image width="$WIDTH" height="$HEIGHT" alt="$ALT" xlink:href="$URL" /></svg>';

// Replace placeholders
// templateContent = templateContent.replace(/\$URL/g, url);
// templateContent = templateContent.replace(/\$WIDTH/g, wInput.value);
// templateContent = templateContent.replace(/\$HEIGHT/g, hInput.value);
// templateContent = templateContent.replace(/\$ALT/g, altInput.value);

// Put the generated code to the textarea
//document.getElementById('imagescene-result').value = templateContent;

// Copy code to the clipboard
//copyClipboard();

};


Expand Down

0 comments on commit 47c3afe

Please sign in to comment.