local testing comments

This commit is contained in:
Felix Roos 2022-05-04 22:03:09 +02:00
parent 8034eb14b6
commit 8b4af5ce9d
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ class Strudel extends HTMLElement {
const code = (this.innerHTML + '').replace('<!--', '').replace('-->', '').trim();
const iframe = document.createElement('iframe');
const src = `https://strudel.tidalcycles.org/#${encodeURIComponent(btoa(code))}`;
// const src = `http://localhost:3000/#${encodeURIComponent(btoa(code))}`;
iframe.setAttribute('src', src);
iframe.setAttribute('width', '600');
iframe.setAttribute('height', '400');

View File

@ -1,4 +1,5 @@
<script src="https://unpkg.com/@strudel.cycles/embed@latest"></script>
<!-- <script src="./embed.js"></script> -->
<strudel-repl>
<!--
"a4 [a3 c3] a3 c3".color('#F9D649')