diff --git a/website/src/website/data/playground-samples/extending-language-services/model-markers-example/sample.js b/website/src/website/data/playground-samples/extending-language-services/model-markers-example/sample.js index 8d8bb899..0492bd8f 100644 --- a/website/src/website/data/playground-samples/extending-language-services/model-markers-example/sample.js +++ b/website/src/website/data/playground-samples/extending-language-services/model-markers-example/sample.js @@ -41,7 +41,9 @@ abcd 234.56`; const uri = monaco.Uri.parse("inmemory://test"); const model = monaco.editor.createModel(value, "demoLanguage", uri); -editor = monaco.editor.create(document.getElementById("container"), { model }); +const editor = monaco.editor.create(document.getElementById("container"), { + model, +}); validate(model); model.onDidChangeContent(() => { validate(model);