Updated codemirror to v4.12.
Did a lot of cleanup to limit the size of the plugin. I kept the emmet plugin.
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
||||
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
||||
|
||||
(function(mod) {
|
||||
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
||||
mod(require("../../lib/codemirror"));
|
||||
else if (typeof define == "function" && define.amd) // AMD
|
||||
define(["../../lib/codemirror"], mod);
|
||||
else // Plain browser env
|
||||
mod(CodeMirror);
|
||||
})(function(CodeMirror) {
|
||||
"use strict";
|
||||
|
||||
CodeMirror.defineMode("xquery", function() {
|
||||
|
||||
// The keywords object is set to the result of this self executing
|
||||
@@ -430,3 +443,5 @@ CodeMirror.defineMode("xquery", function() {
|
||||
});
|
||||
|
||||
CodeMirror.defineMIME("application/xquery", "xquery");
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user