rename init to initStrudel + add to window

This commit is contained in:
Felix Roos 2023-05-10 11:53:26 +02:00
parent 6e02bf59e9
commit 6089849d35
2 changed files with 5 additions and 3 deletions

View file

@ -13,8 +13,8 @@
<button id="c">C</button>
<button id="stop">stop</button>
<script type="module">
import { init } from '@strudel/web';
init({
import { initStrudel } from '@strudel/web';
initStrudel({
prebake: () => samples('github:tidalcycles/Dirt-Samples/master'),
});