diff options
author | Sjon Hortensius <sjon@hortensius.net> | 2015-01-11 16:35:31 +0100 |
---|---|---|
committer | Sjon Hortensius <sjon@hortensius.net> | 2015-01-11 16:35:31 +0100 |
commit | 7c804c693bd7a0e6724efc7ef2d7f45b250edd6a (patch) | |
tree | c52a94893ae9acfc844a631dfce6c8b87dd4574f /usr/local/www/code-syntax-highlighter/shBrushJScript.js | |
parent | 8a07e316827f816e9154ede8808b9f71fa66a212 (diff) | |
download | pfsense-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/shBrushJScript.js')
-rw-r--r-- | usr/local/www/code-syntax-highlighter/shBrushJScript.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/usr/local/www/code-syntax-highlighter/shBrushJScript.js b/usr/local/www/code-syntax-highlighter/shBrushJScript.js deleted file mode 100644 index c68a2a5..0000000 --- a/usr/local/www/code-syntax-highlighter/shBrushJScript.js +++ /dev/null @@ -1,22 +0,0 @@ -dp.sh.Brushes.JScript = function() -{ - var keywords = 'abstract boolean break byte case catch char class const continue debugger ' + - 'default delete do double else enum export extends false final finally float ' + - 'for function goto if implements import in instanceof int interface long native ' + - 'new null package private protected public return short static super switch ' + - 'synchronized this throw throws transient true try typeof var void volatile while with'; - - this.regexList = [ - { regex: new RegExp('//.*$', 'gm'), css: 'comment' }, // one line comments - { regex: new RegExp('/\\*[\\s\\S]*?\\*/', 'g'), css: 'comment' }, // multiline comments - { regex: new RegExp('"(?:\\.|[^\\""])*"', 'g'), css: 'string' }, // double quoted strings - { regex: new RegExp('\'(?:\\.|[^\\\'\'])*\'', 'g'), css: 'string' }, // single quoted strings - { regex: new RegExp('^\\s*#.*', 'gm'), css: 'preprocessor' }, // preprocessor tags like #region and #endregion - { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' } // keywords - ]; - - this.CssClass = 'dp-c'; -} - -dp.sh.Brushes.JScript.prototype = new dp.sh.Highlighter(); -dp.sh.Brushes.JScript.Aliases = ['js', 'jscript', 'javascript']; |