Enable Web Worker for ACE editor
This commit is contained in:

committed by
Sebastian Serth

parent
4ba5f0d7d8
commit
f42c56042c
@ -64,7 +64,6 @@ $(document).on('turbolinks:load', function () {
|
||||
currentEditor.setReadOnly(true);
|
||||
// set editor mode (used for syntax highlighting
|
||||
currentEditor.getSession().setMode($(editor).data('mode'));
|
||||
currentEditor.getSession().setOption("useWorker", false);
|
||||
currentEditor.setTheme(CodeOceanEditor.THEME);
|
||||
|
||||
currentEditor.commentVisualsByLine = {};
|
||||
|
Reference in New Issue
Block a user