From 9f79ed929e4156dc8b5b45161895d70d51cfa5a2 Mon Sep 17 00:00:00 2001
From: Wu Cheng-Han
Date: Mon, 28 Nov 2016 01:36:48 +0800
Subject: Update to move custom CodeMirror codebase to our own repo and update
webpack build config
---
public/vendor/codemirror/mode/mumps/index.html | 85 --------------
public/vendor/codemirror/mode/mumps/mumps.js | 148 -------------------------
2 files changed, 233 deletions(-)
delete mode 100644 public/vendor/codemirror/mode/mumps/index.html
delete mode 100644 public/vendor/codemirror/mode/mumps/mumps.js
(limited to 'public/vendor/codemirror/mode/mumps')
diff --git a/public/vendor/codemirror/mode/mumps/index.html b/public/vendor/codemirror/mode/mumps/index.html
deleted file mode 100644
index b1f92c21..00000000
--- a/public/vendor/codemirror/mode/mumps/index.html
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-MUMPS mode
-
-
-
-
-
-
diff --git a/public/vendor/codemirror/mode/mumps/mumps.js b/public/vendor/codemirror/mode/mumps/mumps.js
deleted file mode 100644
index 469f8c3d..00000000
--- a/public/vendor/codemirror/mode/mumps/mumps.js
+++ /dev/null
@@ -1,148 +0,0 @@
-// CodeMirror, copyright (c) by Marijn Haverbeke and others
-// Distributed under an MIT license: http://codemirror.net/LICENSE
-
-/*
- This MUMPS Language script was constructed using vbscript.js as a template.
-*/
-
-(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("mumps", function() {
- function wordRegexp(words) {
- return new RegExp("^((" + words.join(")|(") + "))\\b", "i");
- }
-
- var singleOperators = new RegExp("^[\\+\\-\\*/!_?\\\\<>=\\'\\[\\]]");
- var doubleOperators = new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))");
- var singleDelimiters = new RegExp("^[\\.,:]");
- var brackets = new RegExp("[()]");
- var identifiers = new RegExp("^[%A-Za-z][A-Za-z0-9]*");
- var commandKeywords = ["break","close","do","else","for","goto", "halt", "hang", "if", "job","kill","lock","merge","new","open", "quit", "read", "set", "tcommit", "trollback", "tstart", "use", "view", "write", "xecute", "b","c","d","e","f","g", "h", "i", "j","k","l","m","n","o", "q", "r", "s", "tc", "tro", "ts", "u", "v", "w", "x"];
- // The following list includes instrinsic functions _and_ special variables
- var intrinsicFuncsWords = ["\\$ascii", "\\$char", "\\$data", "\\$ecode", "\\$estack", "\\$etrap", "\\$extract", "\\$find", "\\$fnumber", "\\$get", "\\$horolog", "\\$io", "\\$increment", "\\$job", "\\$justify", "\\$length", "\\$name", "\\$next", "\\$order", "\\$piece", "\\$qlength", "\\$qsubscript", "\\$query", "\\$quit", "\\$random", "\\$reverse", "\\$select", "\\$stack", "\\$test", "\\$text", "\\$translate", "\\$view", "\\$x", "\\$y", "\\$a", "\\$c", "\\$d", "\\$e", "\\$ec", "\\$es", "\\$et", "\\$f", "\\$fn", "\\$g", "\\$h", "\\$i", "\\$j", "\\$l", "\\$n", "\\$na", "\\$o", "\\$p", "\\$q", "\\$ql", "\\$qs", "\\$r", "\\$re", "\\$s", "\\$st", "\\$t", "\\$tr", "\\$v", "\\$z"];
- var intrinsicFuncs = wordRegexp(intrinsicFuncsWords);
- var command = wordRegexp(commandKeywords);
-
- function tokenBase(stream, state) {
- if (stream.sol()) {
- state.label = true;
- state.commandMode = 0;
- }
-
- // The