From 7bc83ba1391d502578a568f46a2167102deb8275 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Mon, 15 Nov 2021 15:50:33 -1000 Subject: [PATCH] Remove return from example addAction Signed-off-by: Matthew Peveler --- .../adding-an-action-to-an-editor-instance/sample.js | 1 - 1 file changed, 1 deletion(-) diff --git a/monaco-editor/website/playground/new-samples/interacting-with-the-editor/adding-an-action-to-an-editor-instance/sample.js b/monaco-editor/website/playground/new-samples/interacting-with-the-editor/adding-an-action-to-an-editor-instance/sample.js index 0e2e64c5..f224ba04 100644 --- a/monaco-editor/website/playground/new-samples/interacting-with-the-editor/adding-an-action-to-an-editor-instance/sample.js +++ b/monaco-editor/website/playground/new-samples/interacting-with-the-editor/adding-an-action-to-an-editor-instance/sample.js @@ -48,6 +48,5 @@ editor.addAction({ // @param editor The editor instance is passed in as a convenience run: function (ed) { alert("i'm running => " + ed.getPosition()); - return null; } });