local testing comments
This commit is contained in:
parent
8034eb14b6
commit
8b4af5ce9d
2 changed files with 2 additions and 0 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue