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 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|" +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue