fix: remove prebake specific logic in transpiler
This commit is contained in:
parent
8984055ea6
commit
bdeafbaf75
2 changed files with 2 additions and 3 deletions
|
|
@ -43,7 +43,7 @@ import { debugAudiograph } from './audiograph';
|
|||
const { latestCode, maxPolyphony, audioDeviceName, multiChannelOrbits } = settingsMap.get();
|
||||
let modulesLoading, presets, drawContext, clearCanvas, audioReady;
|
||||
|
||||
const evaluateUserPrebake = (code) => evaluate(code, transpiler, { prebake: true });
|
||||
const evaluateUserPrebake = (code) => evaluate(code, transpiler, { addReturn: false });
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
audioReady = initAudioOnFirstClick({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue