code-editor: disable depreacation warning

pull/9118/head
Alexander Zobnin 8 years ago
parent e4dabb657c
commit ecb66e7678
  1. 1
      public/app/core/components/code_editor/code_editor.ts

@ -18,6 +18,7 @@ function link(scope, elem, attrs) {
codeEditor.setTheme("ace/theme/solarized_dark");
codeEditor.setHighlightActiveLine(false);
codeEditor.setShowPrintMargin(false);
codeEditor.$blockScrolling = Infinity;
codeEditor.setValue(scope.content);
codeEditor.clearSelection();

Loading…
Cancel
Save