mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 12:32:32 -05:00
25 lines
563 B
JavaScript
Executable file
25 lines
563 B
JavaScript
Executable file
define(function(require, exports, module) {
|
|
"use strict";
|
|
|
|
var oop = require("../lib/oop");
|
|
var JavaScriptMode = require("./javascript").Mode;
|
|
var Tokenizer = require("../tokenizer").Tokenizer;
|
|
var ScalaHighlightRules = require("./scala_highlight_rules").ScalaHighlightRules;
|
|
|
|
var Mode = function() {
|
|
JavaScriptMode.call(this);
|
|
|
|
this.HighlightRules = ScalaHighlightRules;
|
|
};
|
|
oop.inherits(Mode, JavaScriptMode);
|
|
|
|
(function() {
|
|
|
|
this.createWorker = function(session) {
|
|
return null;
|
|
};
|
|
|
|
}).call(Mode.prototype);
|
|
|
|
exports.Mode = Mode;
|
|
});
|