restore old cyclist

This commit is contained in:
Jade (Rose) Rowland 2024-02-21 23:42:19 -05:00
parent 751a825616
commit e5570a6017
4 changed files with 264 additions and 284 deletions

View file

@ -1,4 +1,4 @@
import { Cyclist } from './cyclist.mjs';
import { NeoCyclist } from './neocyclist.mjs';
import { evaluate as _evaluate } from './evaluate.mjs';
import { logger } from './logger.mjs';
import { setTime } from './time.mjs';
@ -35,7 +35,7 @@ export function repl({
onUpdateState?.(state);
};
const scheduler = new Cyclist({
const scheduler = new NeoCyclist({
onTrigger: getTrigger({ defaultOutput, getTime }),
getTime,
onToggle: (started) => {