Fix highlighter rules to not become global objects

This commit is contained in:
Julian Viereck 2011-02-15 20:25:10 +08:00 • committed by Fabian Jakobs
commit 39c7c652d9
6 changed files with 18 additions and 18 deletions

View file

@ -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();