add vanilla repl build
This commit is contained in:
parent
09045d5387
commit
5f985f359b
7 changed files with 107 additions and 1 deletions
|
|
@ -20,4 +20,7 @@ const { evaluate } = repl({
|
|||
getTime: () => ctx.currentTime,
|
||||
transpiler: shapeshifter,
|
||||
});
|
||||
document.getElementById('start').addEventListener('click', () => evaluate(input.value));
|
||||
document.getElementById('start').addEventListener('click', () => {
|
||||
ctx.resume();
|
||||
evaluate(input.value);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue