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
|
|
@ -38,7 +38,7 @@
|
|||
define(function(require, exports, module) {
|
||||
|
||||
var Tokenizer = require("ace/tokenizer");
|
||||
var TextHighlightRules = require("ace/mode/text_highlight_rules");
|
||||
var TextHighlightRules = require("ace/mode/text_highlight_rules").TextHighlightRules;
|
||||
|
||||
var Text = function() {
|
||||
this.$tokenizer = new Tokenizer(new TextHighlightRules().getRules());
|
||||
|
|
@ -76,5 +76,5 @@ var Text = function() {
|
|||
|
||||
}).call(Text.prototype);
|
||||
|
||||
return Text;
|
||||
});
|
||||
exports.Text = Text;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue