/*===============================================================================Chili is the jQuery code highlighter plugin...............................................................................LICENSE: http://www.opensource.org/licenses/mit-license.phpWEBSITE: http://noteslog.com/chili/Copyright 2008 / Andrea Ercolino===============================================================================*/{_name: 'JavaScript', _case: true, _main: {ml_comment: {_match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\//, _style: 'color: #008000;'}, sl_comment: {_match: /\/\/.*/, _style: 'color: #008000;'}, string: {_match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/, _style: 'color: #A31515;'}, num: {_match: /\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/, _style: ''}, reg_not: { //this prevents "a / b / c" to be interpreted as a reg_exp_match: /(?:\w+\s*)\/[^\/\\\n]*(?:\\.[^\/\\\n]*)*\/[gim]*(?:\s*\w+)/, _replace: function( all ) {return this.x( all, '//num' );}}, reg_exp: {_match: /\/[^\/\\\n]*(?:\\.[^\/\\\n]*)*\/[gim]*/, _style: 'color: maroon;'}, brace: {_match: /[\{\}]/, _style: ''}, statement: {_match: /\b(with|while|var|try|throw|switch|return|if|for|finally|else|do|default|continue|const|catch|case|break|me|\$import|\$include|\$ns)\b/, _style: 'color: blue;'}, error: {_match: /\b(URIError|TypeError|SyntaxError|ReferenceError|RangeError|EvalError|Error)\b/, _style: ''}, object: {_match: /\b(String|RegExp|Object|Number|Math|Function|Date|Boolean|Array)\b/, _style: ''}, property: {_match: /\b(undefined|arguments|NaN|Infinity)\b/, _style: ''}, 'function': {_match: /\b(parseInt|parseFloat|isNaN|isFinite|eval|encodeURIComponent|encodeURI|decodeURIComponent|decodeURI)\b/, _style: 'color: blue;'}, operator: {_match: /\b(void|typeof|this|new|instanceof|in|function|delete)\b/, _style: 'color: blue;'}, liveconnect: {_match: /\b(sun|netscape|java|Packages|JavaPackage|JavaObject|JavaClass|JavaArray|JSObject|JSException)\b/, _style: 'text-decoration: overline;'}}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。