shBrushJScript.js
Upload User: gdxydsw
Upload Date: 2019-01-29
Package Size: 16721k
Code Size: 1k
Category:

Java Develop

Development Platform:

Java

  1. /*
  2.  * JsMin
  3.  * Javascript Compressor
  4.  * http://www.crockford.com/
  5.  * http://www.smallsharptools.com/
  6. */
  7. dp.sh.Brushes.JScript=function()
  8. {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:dp.sh.RegexLib.SingleLineCComments,css:'comment'},{regex:dp.sh.RegexLib.MultiLineCComments,css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'},{regex:dp.sh.RegexLib.SingleQuotedString,css:'string'},{regex:new RegExp('^\s*#.*','gm'),css:'preprocessor'},{regex:new RegExp(this.GetKeywords(keywords),'gm'),css:'keyword'}];this.CssClass='dp-c';}
  9. dp.sh.Brushes.JScript.prototype=new dp.sh.Highlighter();dp.sh.Brushes.JScript.Aliases=['js','jscript','javascript'];