aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinweiClarkChao <[email protected]>2014-09-23 22:34:14 +0800
committerJinwei Zhao <[email protected]>2017-01-13 15:07:44 +0800
commitb214f38d2c24a890ce36512a0c8bab965e27a508 (patch)
tree1522b651444407cbf120798e79be4657f1b472ab /Back/Blocks/syntax/scripts/shBrushDiff.js
parente13882d1656b143533cec307a19425e0a56ec999 (diff)
downloadjinwei.me-b214f38d2c24a890ce36512a0c8bab965e27a508.tar.gz
README
Diffstat (limited to 'Back/Blocks/syntax/scripts/shBrushDiff.js')
-rw-r--r--Back/Blocks/syntax/scripts/shBrushDiff.js41
1 files changed, 0 insertions, 41 deletions
diff --git a/Back/Blocks/syntax/scripts/shBrushDiff.js b/Back/Blocks/syntax/scripts/shBrushDiff.js
deleted file mode 100644
index e9b14fc..0000000
--- a/Back/Blocks/syntax/scripts/shBrushDiff.js
+++ /dev/null
@@ -1,41 +0,0 @@
1/**
2 * SyntaxHighlighter
3 * http://alexgorbatchev.com/SyntaxHighlighter
4 *
5 * SyntaxHighlighter is donationware. If you are using it, please donate.
6 * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7 *
8 * @version
9 * 3.0.83 (July 02 2010)
10 *
11 * @copyright
12 * Copyright (C) 2004-2010 Alex Gorbatchev.
13 *
14 * @license
15 * Dual licensed under the MIT and GPL licenses.
16 */
17;(function()
18{
19 // CommonJS
20 typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
21
22 function Brush()
23 {
24 this.regexList = [
25 { regex: /^\+\+\+.*$/gm, css: 'color2' },
26 { regex: /^\-\-\-.*$/gm, css: 'color2' },
27 { regex: /^\s.*$/gm, css: 'color1' },
28 { regex: /^@@.*@@$/gm, css: 'variable' },
29 { regex: /^\+[^\+]{1}.*$/gm, css: 'string' },
30 { regex: /^\-[^\-]{1}.*$/gm, css: 'comments' }
31 ];
32 };
33
34 Brush.prototype = new SyntaxHighlighter.Highlighter();
35 Brush.aliases = ['diff', 'patch'];
36
37 SyntaxHighlighter.brushes.Diff = Brush;
38
39 // CommonJS
40 typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
41})();
Powered by cgit v1.2.3 (git 2.41.0)