mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 20:44:53 -04:00
Updates config.
This commit is contained in:
parent
219234dfdd
commit
61ae46386e
12 changed files with 31 additions and 2629 deletions
|
@ -6,13 +6,25 @@ modulejs.define('ext/preview-txt', ['_', '$', 'core/settings', 'core/resource',
|
|||
types: {
|
||||
authors: 'plain',
|
||||
copying: 'plain',
|
||||
c: 'c',
|
||||
cpp: 'cpp',
|
||||
css: 'css',
|
||||
h: 'c',
|
||||
hpp: 'cpp',
|
||||
install: 'plain',
|
||||
log: 'plain',
|
||||
java: 'java',
|
||||
makefile: 'xml',
|
||||
markdown: 'plain',
|
||||
php: 'php',
|
||||
python: 'python',
|
||||
readme: 'plain',
|
||||
rb: 'ruby',
|
||||
rtf: 'plain',
|
||||
script: 'shell',
|
||||
text: 'plain',
|
||||
js: 'js'
|
||||
js: 'js',
|
||||
xml: 'xml'
|
||||
}
|
||||
},
|
||||
|
||||
|
|
6
src/_h5ai/js/lib/sh/shBrushJScript.js
vendored
6
src/_h5ai/js/lib/sh/shBrushJScript.js
vendored
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* @version
|
||||
* 3.0.83 (July 02 2010)
|
||||
*
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
||||
*
|
||||
|
@ -29,7 +29,7 @@
|
|||
;
|
||||
|
||||
var r = SyntaxHighlighter.regexLib;
|
||||
|
||||
|
||||
this.regexList = [
|
||||
{ regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
|
||||
{ regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
|
||||
|
@ -38,7 +38,7 @@
|
|||
{ regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
|
||||
];
|
||||
|
||||
|
||||
this.forHtmlScript(r.scriptScriptTags);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue