fix toggle comments in handlebars mode

This commit is contained in:
nightwing 2015-04-30 03:55:19 +04:00
commit 5705a7c2c1

View file

@ -14,14 +14,13 @@ var Mode = function() {
this.HighlightRules = HandlebarsHighlightRules; this.HighlightRules = HandlebarsHighlightRules;
this.$behaviour = new HtmlBehaviour(); this.$behaviour = new HtmlBehaviour();
this.foldingRules = new HtmlFoldMode(); this.foldingRules = new HtmlFoldMode();
}; };
oop.inherits(Mode, HtmlMode); oop.inherits(Mode, HtmlMode);
(function() { (function() {
this.blockComment = {start: "{!--", end: "--}"}; this.blockComment = {start: "{{!--", end: "--}}"};
this.$id = "ace/mode/handlebars"; this.$id = "ace/mode/handlebars";
}).call(Mode.prototype); }).call(Mode.prototype);