Fix highlighter rules to not become global objects
This commit is contained in:
parent
48e37e1c85
commit
39c7c652d9
6 changed files with 18 additions and 18 deletions
|
|
@ -45,7 +45,7 @@ var lang = require("pilot/lang");
|
|||
var DocCommentHighlightRules = require("ace/mode/doc_comment_highlight_rules").DocCommentHighlightRules;
|
||||
var TextHighlightRules = require("ace/mode/text_highlight_rules").TextHighlightRules;
|
||||
|
||||
c_cppHighlightRules = function() {
|
||||
var c_cppHighlightRules = function() {
|
||||
|
||||
var docComment = new DocCommentHighlightRules();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue