Merge branch 'main' into feat/non-realtime-exporting

This commit is contained in:
BANanaD3V 2025-10-23 16:05:09 +02:00
commit 85f6454340
11 changed files with 394 additions and 87 deletions

View file

@ -129,9 +129,10 @@ function githubPath(base, subpath = '') {
let repo = components.length >= 2 ? components[1] : 'samples';
let branch = components.length >= 3 ? components[2] : 'main';
let other = components.slice(3);
other.push(subpath ? subpath : '');
other = other.join('/');
return `https://raw.githubusercontent.com/${user}/${repo}/${branch}/${other}/${subpath}`;
return `https://raw.githubusercontent.com/${user}/${repo}/${branch}/${other}`;
}
export const processSampleMap = (sampleMap, fn, baseUrl = sampleMap._base || '') => {