/lib/syntaxhighlighter_3.0.83/scripts/shBrushPlain.js

# · JavaScript · 33 lines · 11 code · 4 blank · 18 comment · 2 complexity · 87fdca14e9886310a4e4b3ceb429c7f8 MD5 · raw file

  1. /**
  2. * SyntaxHighlighter
  3. * http://alexgorbatchev.com/SyntaxHighlighter
  4. *
  5. * SyntaxHighlighter is donationware. If you are using it, please donate.
  6. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
  7. *
  8. * @version
  9. * 3.0.83 (July 02 2010)
  10. *
  11. * @copyright
  12. * Copyright (C) 2004-2010 Alex Gorbatchev.
  13. *
  14. * @license
  15. * Dual licensed under the MIT and GPL licenses.
  16. */
  17. ;(function()
  18. {
  19. // CommonJS
  20. typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
  21. function Brush()
  22. {
  23. };
  24. Brush.prototype = new SyntaxHighlighter.Highlighter();
  25. Brush.aliases = ['text', 'plain'];
  26. SyntaxHighlighter.brushes.Plain = Brush;
  27. // CommonJS
  28. typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
  29. })();