Skip to content

Commit

Permalink
no bug, add line and block comment data
Browse files Browse the repository at this point in the history
  • Loading branch information
Pike committed Jul 24, 2015
1 parent df8b7c3 commit 76cd4c7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
6 changes: 6 additions & 0 deletions modes/dtd.js
Expand Up @@ -13,6 +13,12 @@ var Mode = function() {
};
oop.inherits(Mode, TextMode);

(function() {

this.blockComment = {start: "<!--", end: "-->"};

}).call(Mode.prototype);

exports.Mode = Mode;

});
8 changes: 7 additions & 1 deletion modes/gettext.js
Expand Up @@ -15,5 +15,11 @@ var Mode = function() {
};
oop.inherits(Mode, TextMode);

(function() {

this.lineCommentStart = '#';

}).call(Mode.prototype);

exports.Mode = Mode;
});
});
6 changes: 6 additions & 0 deletions modes/lang.js
Expand Up @@ -14,5 +14,11 @@ var Mode = function() {
};
oop.inherits(Mode, TextMode);

(function() {

this.lineCommentStart = '#';

}).call(Mode.prototype);

exports.Mode = Mode;
});

0 comments on commit 76cd4c7

Please sign in to comment.