overleaf/services/web/public/js/ace/mode/scala.js

26 lines
563 B
JavaScript
Raw Normal View History

2014-02-12 05:23:40 -05:00
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;
});