Skip to content

Commit

Permalink
repair build
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubobubobubobubo committed Aug 13, 2023
1 parent 7f6a768 commit 311138c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"superdough": "^0.9.3",
"tailwindcss": "^3.3.3",
"tone": "^14.8.49",
"zifferjs": "file:../zifferjs",
"zifferjs": "https://github.com/amiika/zifferjs.git",
"zzfx": "^1.2.0"
}
}
3 changes: 2 additions & 1 deletion src/API.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
superdough, samples,
initAudioOnFirstClick,
registerSynthSounds
// @ts-ignore
} from 'superdough';

/**
Expand All @@ -24,7 +25,7 @@ Array.prototype.in = function<T>(this: T[], value: T): boolean {
};


const init = Promise.all([
Promise.all([
initAudioOnFirstClick(),
samples('github:tidalcycles/Dirt-Samples/master'),
samples('github:kindohm/expedition/tree/master/samples'),
Expand Down
2 changes: 1 addition & 1 deletion src/Evaluator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function codeInterceptor(code: string): string {
.replace(/t\[(\d+),(\d+)\]/g, 'mod($1,$2)')
.replace(/b\[(\d+),(\d+)\]/g, '[$1,$2].includes(beat)')
.replace(/eb\[(\d+),(\d+)\]/g, '[$1,$2].includes(ebeat)')
.replace(/m\[(\d+),(\d+)\]/g, '[$1,$2].includes(bar)');
.replace(/m\[(\d+),(\d+)\]/g, '[$1,$2].includes(bar)')
}

const delay = (ms: number) => new Promise((_, reject) => setTimeout(() => reject(new Error('Operation took too long')), ms));
Expand Down
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1158,8 +1158,9 @@ yaml@^2.1.1:
resolved "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz"
integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==

"zifferjs@file:../zifferjs":
"zifferjs@https://github.com/amiika/zifferjs.git":
version "0.0.0"
resolved "https://github.com/amiika/zifferjs.git#0254770c19db8772a9c3cb6b0571f2b5007593e6"
dependencies:
"@types/seedrandom" "^3.0.5"
lru-cache "^10.0.0"
Expand Down

0 comments on commit 311138c

Please sign in to comment.