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 oop = require("pilot/oop");
var lang = require("pilot/lang");
var TextHighlightRules = require("ace/mode/text_highlight_rules").TextHighlightRules;
PythonHighlightRules = function() {
var PythonHighlightRules = function() {
var keywords = lang.arrayToMap(
("and|as|assert|break|class|continue|def|del|elif|else|except|exec|" +