From 3a754133dbc138390503341fd2e9beba3e43aa4b Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Fri, 27 Jan 2012 12:05:17 -0800 Subject: Merged old FileIO --- js/codemirror/mode/diff/diff.css | 3 -- js/codemirror/mode/diff/diff.js | 13 ----- js/codemirror/mode/diff/index.html | 99 -------------------------------------- 3 files changed, 115 deletions(-) delete mode 100644 js/codemirror/mode/diff/diff.css delete mode 100644 js/codemirror/mode/diff/diff.js delete mode 100644 js/codemirror/mode/diff/index.html (limited to 'js/codemirror/mode/diff') diff --git a/js/codemirror/mode/diff/diff.css b/js/codemirror/mode/diff/diff.css deleted file mode 100644 index 16f8d335..00000000 --- a/js/codemirror/mode/diff/diff.css +++ /dev/null @@ -1,3 +0,0 @@ -.cm-s-default span.cm-rangeinfo {color: #a0b;} -.cm-s-default span.cm-minus {color: #a22;} -.cm-s-default span.cm-plus {color: #2b2;} diff --git a/js/codemirror/mode/diff/diff.js b/js/codemirror/mode/diff/diff.js deleted file mode 100644 index 725bb2c7..00000000 --- a/js/codemirror/mode/diff/diff.js +++ /dev/null @@ -1,13 +0,0 @@ -CodeMirror.defineMode("diff", function() { - return { - token: function(stream) { - var ch = stream.next(); - stream.skipToEnd(); - if (ch == "+") return "plus"; - if (ch == "-") return "minus"; - if (ch == "@") return "rangeinfo"; - } - }; -}); - -CodeMirror.defineMIME("text/x-diff", "diff"); diff --git a/js/codemirror/mode/diff/index.html b/js/codemirror/mode/diff/index.html deleted file mode 100644 index 2748f2fa..00000000 --- a/js/codemirror/mode/diff/index.html +++ /dev/null @@ -1,99 +0,0 @@ - - -
-MIME types defined: text/x-diff
.