Skip to content

Commit

Permalink
Update syntaxhighlighter for css bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdecker committed Nov 23, 2010
1 parent 1980899 commit c2d498f
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions syntaxhighlight.js
@@ -1,7 +1,6 @@
(function(){
var corecss = document.createElement('link');
var themecss = document.createElement('link');
var corecssurl = "http://static.incaseofstairs.com/plugins/syntaxhighlighter/syntaxhighlighter/styles/shCore.css?ver=2.1.364b";
var corecssurl = "http://static.incaseofstairs.com/plugins/syntaxhighlighter/syntaxhighlighter/styles/shCoreBundle.css?ver=2.1.364b";
if ( corecss.setAttribute ) {
corecss.setAttribute( "rel", "stylesheet" );
corecss.setAttribute( "type", "text/css" );
Expand All @@ -11,16 +10,6 @@
corecss.href = corecssurl;
}
document.getElementsByTagName("head")[0].appendChild(corecss);
var themecssurl = "http://static.incaseofstairs.com/plugins/syntaxhighlighter/syntaxhighlighter/styles/shThemeRDark.css?ver=2.1.364b";
if ( themecss.setAttribute ) {
themecss.setAttribute( "rel", "stylesheet" );
themecss.setAttribute( "type", "text/css" );
themecss.setAttribute( "href", themecssurl );
} else {
themecss.rel = "stylesheet";
themecss.href = themecssurl;
}
document.getElementsByTagName("head")[0].appendChild(themecss);
})();
SyntaxHighlighter.config.clipboardSwf = 'http://static.incaseofstairs.com/plugins/syntaxhighlighter/syntaxhighlighter/scripts/clipboard.swf';
SyntaxHighlighter.config.strings.expandSource = 'show source';
Expand Down

0 comments on commit c2d498f

Please sign in to comment.