move evaluate/evaluateBlock to different functions
This commit is contained in:
parent
1a7f464998
commit
160ef84b47
4 changed files with 152 additions and 109 deletions
|
|
@ -44,7 +44,7 @@ export const evalBlock = (strudelMirror) => {
|
|||
if (block) {
|
||||
// Flash the block being evaluated
|
||||
strudelMirror.flash(200, { from: a, to: b });
|
||||
strudelMirror.repl.evaluate(block, true, true, { range });
|
||||
strudelMirror.repl.evaluateBlock(block, true, { range });
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue