Skip to content

Commit

Permalink
statemachine example: fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Jun 3, 2024
1 parent 952709d commit 6e4c10f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/examples/wrapper_statemachine.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ <h2>Langium Statemachine Client & Language Server (Worker)</h2>
<div id="monaco-editor-root" style="height: 40vh;"></div>
<div id="monaco-editor-root2" style="height: 40vh;"></div>
<script type="module" rel="modulepreload">
import { initLocalLoader } from 'monaco-editor-wrapper/vscode/locale';
await initLocalLoader();
import { initLocaleLoader } from 'monaco-editor-wrapper/vscode/locale';
await initLocaleLoader();

// production build: ensure local loading is handled before loading the main script
const { configureMonacoWorkers, runStatemachineWrapper } = await import ('./src/langium/statemachine/main.ts');
Expand Down

0 comments on commit 6e4c10f

Please sign in to comment.