mirror of
https://codeberg.org/uzu/strudel
synced 2026-08-04 06:12:22 -04:00
local testing comments
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user