convert the remaining modes to exports style
This commit is contained in:
parent
805a181d1a
commit
7f0930ea51
26 changed files with 66 additions and 48 deletions
|
|
@ -40,7 +40,7 @@ define(function(require, exports, module) {
|
|||
var oop = require("ace/lib/oop").oop;
|
||||
var lang = require("ace/lib/lang").lang;
|
||||
var DocCommentHighlightRules = require("ace/mode/doc_comment_highlight_rules").DocCommentHighlightRules;
|
||||
var TextHighlightRules = require("ace/mode/text_highlight_rules");
|
||||
var TextHighlightRules = require("ace/mode/text_highlight_rules").TextHighlightRules;
|
||||
|
||||
JavaScriptHighlightRules = function() {
|
||||
|
||||
|
|
@ -159,5 +159,5 @@ JavaScriptHighlightRules = function() {
|
|||
|
||||
oop.inherits(JavaScriptHighlightRules, TextHighlightRules);
|
||||
|
||||
return JavaScriptHighlightRules;
|
||||
});
|
||||
exports.JavaScriptHighlightRules = JavaScriptHighlightRules;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue