diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 68efe10a..a4762fed 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -27bfabdcecb11ea4891db9e8ff07eca4a2b5673e +2ba655415c1cedd01495de0dce50a5213a7f157b diff --git a/examples/resources/syntax/shCore.js b/examples/resources/syntax/shCore.js index 7ec9ef9b..34b12d32 100644 --- a/examples/resources/syntax/shCore.js +++ b/examples/resources/syntax/shCore.js @@ -1985,4 +1985,23 @@ typeof(exports) != 'undefined' ? exports.SyntaxHighlighter = SyntaxHighlighter : })(); +;(function() +{ + // CommonJS + SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null); + + function Brush() + { + }; + + Brush.prototype = new SyntaxHighlighter.Highlighter(); + Brush.aliases = ['text', 'plain']; + + SyntaxHighlighter.brushes.Plain = Brush; + + // CommonJS + typeof(exports) != 'undefined' ? exports.Brush = Brush : null; +})(); + + SyntaxHighlighter.all();