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
---
.../vendor/codemirror/mode/tiddlywiki/index.html | 154 -----------
.../codemirror/mode/tiddlywiki/tiddlywiki.css | 14 -
.../codemirror/mode/tiddlywiki/tiddlywiki.js | 308 ---------------------
3 files changed, 476 deletions(-)
delete mode 100644 public/vendor/codemirror/mode/tiddlywiki/index.html
delete mode 100644 public/vendor/codemirror/mode/tiddlywiki/tiddlywiki.css
delete mode 100644 public/vendor/codemirror/mode/tiddlywiki/tiddlywiki.js
(limited to 'public/vendor/codemirror/mode/tiddlywiki')
diff --git a/public/vendor/codemirror/mode/tiddlywiki/index.html b/public/vendor/codemirror/mode/tiddlywiki/index.html
deleted file mode 100644
index 77dd0457..00000000
--- a/public/vendor/codemirror/mode/tiddlywiki/index.html
+++ /dev/null
@@ -1,154 +0,0 @@
-
-
-
-TiddlyWiki mode
-
-
-
-
-
-
- TiddlyWiki mode supports a single configuration.
-
- MIME types defined: text/x-tiddlywiki
.
-
diff --git a/public/vendor/codemirror/mode/tiddlywiki/tiddlywiki.css b/public/vendor/codemirror/mode/tiddlywiki/tiddlywiki.css
deleted file mode 100644
index 9a69b639..00000000
--- a/public/vendor/codemirror/mode/tiddlywiki/tiddlywiki.css
+++ /dev/null
@@ -1,14 +0,0 @@
-span.cm-underlined {
- text-decoration: underline;
-}
-span.cm-strikethrough {
- text-decoration: line-through;
-}
-span.cm-brace {
- color: #170;
- font-weight: bold;
-}
-span.cm-table {
- color: blue;
- font-weight: bold;
-}
diff --git a/public/vendor/codemirror/mode/tiddlywiki/tiddlywiki.js b/public/vendor/codemirror/mode/tiddlywiki/tiddlywiki.js
deleted file mode 100644
index 1a3b3bc6..00000000
--- a/public/vendor/codemirror/mode/tiddlywiki/tiddlywiki.js
+++ /dev/null
@@ -1,308 +0,0 @@
-// CodeMirror, copyright (c) by Marijn Haverbeke and others
-// Distributed under an MIT license: http://codemirror.net/LICENSE
-
-/***
- |''Name''|tiddlywiki.js|
- |''Description''|Enables TiddlyWikiy syntax highlighting using CodeMirror|
- |''Author''|PMario|
- |''Version''|0.1.7|
- |''Status''|''stable''|
- |''Source''|[[GitHub|https://github.com/pmario/CodeMirror2/blob/tw-syntax/mode/tiddlywiki]]|
- |''Documentation''|http://codemirror.tiddlyspace.com/|
- |''License''|[[MIT License|http://www.opensource.org/licenses/mit-license.php]]|
- |''CoreVersion''|2.5.0|
- |''Requires''|codemirror.js|
- |''Keywords''|syntax highlighting color code mirror codemirror|
- ! Info
- CoreVersion parameter is needed for TiddlyWiki only!
-***/
-
-(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("tiddlywiki", function () {
- // Tokenizer
- var textwords = {};
-
- var keywords = {
- "allTags": true, "closeAll": true, "list": true,
- "newJournal": true, "newTiddler": true,
- "permaview": true, "saveChanges": true,
- "search": true, "slider": true, "tabs": true,
- "tag": true, "tagging": true, "tags": true,
- "tiddler": true, "timeline": true,
- "today": true, "version": true, "option": true,
- "with": true, "filter": true
- };
-
- var isSpaceName = /[\w_\-]/i,
- reHR = /^\-\-\-\-+$/, //