mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
16 lines
No EOL
428 B
JavaScript
Executable file
16 lines
No EOL
428 B
JavaScript
Executable file
define(function(require, exports, module) {
|
|
'use strict';
|
|
|
|
var oop = require("../lib/oop");
|
|
var TextMode = require("./text").Mode;
|
|
var Tokenizer = require("../tokenizer").Tokenizer;
|
|
var LuceneHighlightRules = require("./lucene_highlight_rules").LuceneHighlightRules;
|
|
|
|
var Mode = function() {
|
|
this.$tokenizer = new Tokenizer(new LuceneHighlightRules().getRules());
|
|
};
|
|
|
|
oop.inherits(Mode, TextMode);
|
|
|
|
exports.Mode = Mode;
|
|
}); |