wire up settings and theming

This commit is contained in:
Felix Roos 2023-12-25 20:52:00 +01:00
parent 7dac1e275d
commit e19f799046
5 changed files with 80 additions and 10 deletions

View file

@ -62,10 +62,6 @@ export function repl({
};
setTime(() => scheduler.now()); // TODO: refactor?
const evaluate = async (code, autostart = true, shouldHush = true) => {
if (code === state.activeCode && state.started) {
logger('[eval] skip: not dirty')
return;
}
if (!code) {
throw new Error('no code to evaluate');
}