summaryrefslogtreecommitdiff
path: root/htdocs/js/ace/mode-gitignore.js
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/js/ace/mode-gitignore.js')
-rw-r--r--htdocs/js/ace/mode-gitignore.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/htdocs/js/ace/mode-gitignore.js b/htdocs/js/ace/mode-gitignore.js
new file mode 100644
index 0000000..b3c296a
--- /dev/null
+++ b/htdocs/js/ace/mode-gitignore.js
@@ -0,0 +1 @@
+define("ace/mode/gitignore_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment",regex:/^\s*#.*$/},{token:"keyword",regex:/^\s*!.*$/}]},this.normalizeRules()};s.metaData={fileTypes:["gitignore"],name:"Gitignore"},r.inherits(s,i),t.GitignoreHighlightRules=s}),define("ace/mode/gitignore",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gitignore_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./gitignore_highlight_rules").GitignoreHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart="#",this.$id="ace/mode/gitignore"}.call(o.prototype),t.Mode=o}) \ No newline at end of file