-凯发官网注册

/** * syntaxhighlighter * http://alexgorbatchev.com/syntaxhighlighter * * syntaxhighlighter is donationware. if you are using it, please donate. * http://alexgorbatchev.com/syntaxhighlighter/donate.html * * @version * 3.0.83 (july 02 2010) * * @凯发官网注册 copyright * 凯发官网注册 copyright (c) 2004-2010 alex gorbatchev. * * @license * dual licensed under the mit and gpl licenses. */ ;(function() { // commonjs typeof(require) != 'undefined' ? syntaxhighlighter = require('shcore').syntaxhighlighter : null; function brush() { var keywords = 'break case catch continue ' 'default delete do else false ' 'for function if in instanceof ' 'new null return super switch ' 'this throw true try typeof var while with' ; var r = syntaxhighlighter.regexlib; this.regexlist = [ { regex: r.multilinedoublequotedstring, css: 'string' }, // double quoted strings { regex: r.multilinesinglequotedstring, css: 'string' }, // single quoted strings { regex: r.singlelineccomments, css: 'comments' }, // one line comments { regex: r.multilineccomments, css: 'comments' }, // multiline comments { 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); }; brush.prototype = new syntaxhighlighter.highlighter(); brush.aliases = ['js', 'jscript', 'javascript']; syntaxhighlighter.brushes.jscript = brush; // commonjs typeof(exports) != 'undefined' ? exports.brush = brush : null; })();