Переглянути джерело

Merge pull request #2772 from MasterOdin/patch-1

Remove return from example addAction
Alexandru Dima 3 роки тому
батько
коміт
6535feb2a5

+ 0 - 1
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;
 	}
 });