diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-25 08:08:24 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-25 14:49:54 -0300 |
commit | 46bc6e545a17e77202aaf01ec0cd8d5a46567525 (patch) | |
tree | 32d18dda436ec739c67c489ceb771e8629cd926f /usr/local/www/code-syntax-highlighter/shBrushJava.js | |
parent | 4d9801c2dbd2b3e54a39578ee62b93af66607227 (diff) | |
download | pfsense-46bc6e545a17e77202aaf01ec0cd8d5a46567525.zip pfsense-46bc6e545a17e77202aaf01ec0cd8d5a46567525.tar.gz |
Move main pfSense content to src/
Diffstat (limited to 'usr/local/www/code-syntax-highlighter/shBrushJava.js')
-rw-r--r-- | usr/local/www/code-syntax-highlighter/shBrushJava.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/usr/local/www/code-syntax-highlighter/shBrushJava.js b/usr/local/www/code-syntax-highlighter/shBrushJava.js deleted file mode 100644 index f18aaad..0000000 --- a/usr/local/www/code-syntax-highlighter/shBrushJava.js +++ /dev/null @@ -1,26 +0,0 @@ -dp.sh.Brushes.Java = function() -{ - var keywords = 'abstract assert boolean break byte case catch char class const ' + - 'continue default do double else enum extends ' + - 'false final finally float for goto if implements import ' + - 'instanceof int interface long native new null ' + - 'package private protected public return ' + - 'short static strictfp super switch synchronized this throw throws true ' + - 'transient try void volatile while'; - - this.regexList = [ - { regex: dp.sh.RegexLib.SingleLineCComments, css: 'comment' }, // one line comments - { regex: dp.sh.RegexLib.MultiLineCComments, css: 'comment' }, // multiline comments - { regex: dp.sh.RegexLib.DoubleQuotedString, css: 'string' }, // strings - { regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // strings - { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'number' }, // numbers - { regex: new RegExp('(?!\\@interface\\b)\\@[\\$\\w]+\\b', 'g'), css: 'annotation' }, // annotation @anno - { regex: new RegExp('\\@interface\\b', 'g'), css: 'keyword' }, // @interface keyword - { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' } // java keyword - ]; - - this.CssClass = 'dp-j'; -} - -dp.sh.Brushes.Java.prototype = new dp.sh.Highlighter(); -dp.sh.Brushes.Java.Aliases = ['java']; |