rename all language mode classes to 'Mode'.

This commit is contained in:
Fabian Jakobs 2010-12-10 18:07:06 +01:00
commit cbb6215145
18 changed files with 80 additions and 119 deletions

View file

@ -40,7 +40,7 @@ define(function(require, exports, module) {
var Tokenizer = require("ace/tokenizer").Tokenizer;
var TextHighlightRules = require("ace/mode/text_highlight_rules").TextHighlightRules;
var Text = function() {
var Mode = function() {
this.$tokenizer = new Tokenizer(new TextHighlightRules().getRules());
};
@ -74,7 +74,7 @@ var Text = function() {
return "";
};
}).call(Text.prototype);
}).call(Mode.prototype);
exports.Text = Text;
exports.Mode = Mode;
});