Просмотр исходного кода

Update latex.js

Temporary fix. I proposed the same change to the official repo.
Daniel Felder 12 лет назад
Родитель
Сommit
6015788e41
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      services/web/public/js/ace/mode/latex.js

+ 2 - 0
services/web/public/js/ace/mode/latex.js

@@ -15,6 +15,8 @@ var Mode = function() {
 oop.inherits(Mode, TextMode);
 
 (function() {
+    this.type = "text";
+    
     this.lineCommentStart = "%";
 
 }).call(Mode.prototype);