refactor: remove await before samples calls in docs etc..

+ remove /master from dirt-samples calls (there is now a main branch)
+ remove /main endings from some places
This commit is contained in:
Felix Roos 2024-02-21 10:17:45 +01:00
parent 38d389b838
commit bf63b716af
19 changed files with 50 additions and 51 deletions

View file

@ -6,7 +6,7 @@
<script type="module">
import { initStrudel } from 'https://cdn.skypack.dev/@strudel/web@0.8.2';
initStrudel({
prebake: () => samples('github:tidalcycles/Dirt-Samples/master'),
prebake: () => samples('github:tidalcycles/dirt-samples'),
});
const click = (id, action) => document.getElementById(id).addEventListener('click', action);
click('a', () => evaluate(`s('bd,jvbass(3,8)').jux(rev)`));

View file

@ -52,7 +52,7 @@
});
function getTune() {
return `await samples('github:tidalcycles/Dirt-Samples/master')
return `samples('github:tidalcycles/dirt-samples')
stack(
// amen