/** * SyntaxHighlighter * http://alexgorbatchev.com/SyntaxHighlighter * * SyntaxHighlighter is donationware. If you are using it, please donate. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * * @version * 3.0.90 (Sat, 18 Jun 2016 21:01:41 GMT) * * @copyright * Copyright (C) 2004-2013 Alex Gorbatchev. * * @license * Dual licensed under the MIT and GPL licenses. */ /** * SyntaxHighlighter * http://alexgorbatchev.com/SyntaxHighlighter * * @license * Dual licensed under the MIT and GPL licenses. */ ;(function() { // CommonJS typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; function Brush() { // Contributed by Chad Granum this.regexList = [ // Plan { regex: new RegExp('^1..\\d+', 'gm'), css: 'plain bold italic' }, // Match ok, not ok, and with test numbers { regex: new RegExp('^ok( \\d+)?', 'gm'), css: 'keyword' }, { regex: new RegExp('^not ok( \\d+)?', 'gm'), css: 'color3 bold' }, // Directives { regex: new RegExp('(?!^\\s*)#.*$', 'gm'), css: 'variable bold' }, // Diagnostics { regex: new RegExp('^#.*$', 'gm'), css: 'comments bold' }, // comments { regex: new RegExp('^(?!(not )?ok)[^1].*$', 'gm'), css: 'comments' }, // Quoted items in messages { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, ]; } Brush.prototype = new SyntaxHighlighter.Highlighter(); Brush.aliases = ['tap', 'Tap', 'TAP']; SyntaxHighlighter.brushes.TAP = Brush; // CommonJS typeof(exports) != 'undefined' ? exports.Brush = Brush : null; })();