summaryrefslogtreecommitdiffstats
path: root/usr/local/www/code-syntax-highlighter/shBrushJava.js
diff options
context:
space:
mode:
authorSjon Hortensius <sjon@hortensius.net>2015-01-11 16:35:31 +0100
committerSjon Hortensius <sjon@hortensius.net>2015-01-11 16:35:31 +0100
commit7c804c693bd7a0e6724efc7ef2d7f45b250edd6a (patch)
treec52a94893ae9acfc844a631dfce6c8b87dd4574f /usr/local/www/code-syntax-highlighter/shBrushJava.js
parent8a07e316827f816e9154ede8808b9f71fa66a212 (diff)
downloadpfsense-7c804c693bd7a0e6724efc7ef2d7f45b250edd6a.zip
pfsense-7c804c693bd7a0e6724efc7ef2d7f45b250edd6a.tar.gz
Some tweaks for global tpl considerations
* pkg_mgr* - removed icon-hrefs with actual buttons * system - made labels shorter, added label in content column too, fix submit-button alignment * installed_packages.widget - updated to bootstrap * syntax-highlighter - removed, unused
Diffstat (limited to 'usr/local/www/code-syntax-highlighter/shBrushJava.js')
-rw-r--r--usr/local/www/code-syntax-highlighter/shBrushJava.js26
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'];
OpenPOWER on IntegriCloud