mirror of
https://github.com/neocities/neocities.git
synced 2025-05-30 17:23:57 +02:00
basic monaco editor setup
This commit is contained in:
parent
47edba24dc
commit
165e17f844
467 changed files with 40 additions and 328148 deletions
|
@ -1,27 +0,0 @@
|
|||
define("ace/mode/plain_text",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/behaviour"], function(require, exports, module){"use strict";
|
||||
var oop = require("../lib/oop");
|
||||
var TextMode = require("./text").Mode;
|
||||
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
||||
var Behaviour = require("./behaviour").Behaviour;
|
||||
var Mode = function () {
|
||||
this.HighlightRules = TextHighlightRules;
|
||||
this.$behaviour = new Behaviour();
|
||||
};
|
||||
oop.inherits(Mode, TextMode);
|
||||
(function () {
|
||||
this.type = "text";
|
||||
this.getNextLineIndent = function (state, line, tab) {
|
||||
return '';
|
||||
};
|
||||
this.$id = "ace/mode/plain_text";
|
||||
}).call(Mode.prototype);
|
||||
exports.Mode = Mode;
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/mode/plain_text"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue