1 parent f0831f9 commit c2ffcc5Copy full SHA for c2ffcc5
1 file changed
examples/js/editor.js
@@ -40,7 +40,7 @@ function initCodeEditor() {
40
if (!aceEditor) {
41
aceEditor = ace.edit("editor");
42
aceEditor.setTheme("ace/theme/textmate");
43
- aceEditor.getSession().setMode("ace/mode-javascript/html");
+ aceEditor.getSession().setMode("ace/mode/javascript");
44
aceEditor.getSession().setUseWrapMode(true);
45
aceEditor.setShowPrintMargin(false);
46
}
0 commit comments