vendor/assets/javascripts/ace/mode-json.js in ace-rails-ap-4.3 vs vendor/assets/javascripts/ace/mode-json.js in ace-rails-ap-4.4
- old
+ new
@@ -273,9 +273,12 @@
};
oop.inherits(Mode, TextMode);
(function() {
+ this.lineCommentStart = "//";
+ this.blockComment = {start: "/*", end: "*/"};
+
this.getNextLineIndent = function(state, line, tab) {
var indent = this.$getIndent(line);
if (state == "start") {
var match = line.match(/^.*[\{\(\[]\s*$/);
\ No newline at end of file