- Revision
- 1267
- Author
- mauro
- Date
- 2009-09-20 05:11:24 -0500 (Sun, 20 Sep 2009)
Log Message
Updated header.
Modified Paths
Diff
Modified: trunk/core/distribution/src/site/resources/js/shBrushBdd.js (1266 => 1267)
--- trunk/core/distribution/src/site/resources/js/shBrushBdd.js 2009-09-20 10:05:34 UTC (rev 1266) +++ trunk/core/distribution/src/site/resources/js/shBrushBdd.js 2009-09-20 10:11:24 UTC (rev 1267) @@ -1,38 +1,14 @@ /** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - * - * @version - * 2.0.320 (May 03 2009) + * SyntaxHighlighter brush for BDD grammar. * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * @license - * This file is part of SyntaxHighlighter. - * - * SyntaxHighlighter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * SyntaxHighlighter is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>. + * Adapted from shBrushJava. */ SyntaxHighlighter.brushes.Bdd = function() { var keywords = 'Given When Then And Scenario GivenScenarios Examples ExamplesTable ExamplesTableRow Pending NotPerformed Failed'; this.regexList = [ - { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword + { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // bdd keyword ]; this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
To unsubscribe from this list please visit:
