Permalink
Browse files

Update scripts/shBrushJava.js

Fixed a bug for Syntax Highlighter.
  • Loading branch information...
1 parent 985329b commit 8fb23104db5d38110d781ae4efb3355f3b5f9424 @kashif-umair committed Sep 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/shBrushJava.js
View
@@ -1,7 +1,7 @@
;(function()
{
// CommonJS
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
+ SyntaxHighlighter = SyntaxHighlighter || require('shCore').SyntaxHighlighter;
function Brush()
{

0 comments on commit 8fb2310

Please sign in to comment.