gitignore.js 471 B

1234567891011121314151617181920
  1. define(function(require, exports, module) {
  2. "use strict";
  3. var oop = require("../lib/oop");
  4. var TextMode = require("./text").Mode;
  5. var GitignoreHighlightRules = require("./gitignore_highlight_rules").GitignoreHighlightRules;
  6. var Mode = function() {
  7. this.HighlightRules = GitignoreHighlightRules;
  8. };
  9. oop.inherits(Mode, TextMode);
  10. (function() {
  11. this.lineCommentStart = "#";
  12. this.$id = "ace/mode/gitignore";
  13. }).call(Mode.prototype);
  14. exports.Mode = Mode;
  15. });