Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update syntaxhighlighter for css bundle

  • Loading branch information...
commit c2d498fded41c64253a3019eff04af35f415b20a 1 parent 1980899
Kevin Decker authored
Showing with 1 addition and 12 deletions.
  1. +1 −12 syntaxhighlight.js
13 syntaxhighlight.js
View
@@ -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" );
@@ -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';
Please sign in to comment.
Something went wrong with that request. Please try again.