Permalink
Browse files

Update scripts/shBrushJava.js

Restored Changes to shBrushJava.js
  • Loading branch information...
kashif-umair committed Sep 12, 2012
1 parent 8fb2310 commit c87a0e5c0464a865ca1af85633c38d84683a31f9
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/shBrushJava.js
View
@@ -1,7 +1,7 @@
;(function()
{
// CommonJS
- SyntaxHighlighter = SyntaxHighlighter || require('shCore').SyntaxHighlighter;
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
function Brush()
{

0 comments on commit c87a0e5

Please sign in to comment.