diff --git a/src/ribbit.ts b/src/ribbit.ts index a622f1b..34b39f2 100644 --- a/src/ribbit.ts +++ b/src/ribbit.ts @@ -21,7 +21,7 @@ const HTML5_TAGS = [ ] export async function wrapAndRunCode(code: string, globals?: Record): Promise { - return await runCode("ribbit:\n " + code + "\nend", Object.assign({}, ribbitGlobals, globals)) + return await runCode("ribbit do:\n " + code + "\nend", Object.assign({}, ribbitGlobals, globals)) } export const ribbitGlobals = {