From 710b9dc06b506bf7575b337ea163150a2c1bcfa4 Mon Sep 17 00:00:00 2001 From: epi13 Date: Mon, 30 Mar 2026 15:31:02 -0800 Subject: [PATCH] Fix repl executor export form to avoid stripped-header syntax error --- src/REPLCalc/assets/js/repl-executor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/REPLCalc/assets/js/repl-executor.js b/src/REPLCalc/assets/js/repl-executor.js index 556f22d..8fb4796 100644 --- a/src/REPLCalc/assets/js/repl-executor.js +++ b/src/REPLCalc/assets/js/repl-executor.js @@ -160,7 +160,7 @@ function withModeAppliedState(state, envOverride = null){ }; } -export function createReplExecutor({ +function createReplExecutor({ expandStatement, }){ if (typeof expandStatement !== "function"){ @@ -799,4 +799,5 @@ export function createReplExecutor({ }; } +export { createReplExecutor }; export const createExecutor = createReplExecutor;