fix ejs highlighting

pull/142/head
nightwing 2015-08-31 14:33:21 +04:00
rodzic 83b1f0a2ef
commit 0b14bcf31e
1 zmienionych plików z 2 dodań i 14 usunięć

16
node_modules/ace/lib/ace/mode/ejs.js wygenerowano vendored
Wyświetl plik

@ -52,9 +52,7 @@ var EjsHighlightRules = function(start, end) {
});
}
this.embedRules(JavaScriptHighlightRules, "ejs-");
this.$rules["ejs-start"].unshift({
this.embedRules(JavaScriptHighlightRules, "ejs-", [{
token : "markup.list.meta.tag",
regex : "-?" + end,
next : "pop"
@ -62,17 +60,7 @@ var EjsHighlightRules = function(start, end) {
token: "comment",
regex: "//.*?" + end,
next: "pop"
});
this.$rules["ejs-no_regex"].unshift({
token : "markup.list.meta.tag",
regex : "-?" + end,
next : "pop"
}, {
token: "comment",
regex: "//.*?" + end,
next: "pop"
});
}]);
this.normalizeRules();
};