Created
May 31, 2011 05:00
-
-
Save bradylove/999890 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function path() | |
{ | |
var args = arguments, | |
result = [] | |
; | |
for(var i = 0; i < args.length; i++) | |
result.push(args[i].replace('@', '/javascripts/')); | |
return result | |
}; | |
SyntaxHighlighter.autoloader.apply(null, path( | |
'applescript @shBrushAppleScript.js', | |
'actionscript3 as3 @shBrushAS3.js', | |
'bash shell @shBrushBash.js', | |
'coldfusion cf @shBrushColdFusion.js', | |
'cpp c @shBrushCpp.js', | |
'c# c-sharp csharp @shBrushCSharp.js', | |
'css @shBrushCss.js', | |
'delphi pascal @shBrushDelphi.js', | |
'diff patch pas @shBrushDiff.js', | |
'erl erlang @shBrushErlang.js', | |
'groovy @shBrushGroovy.js', | |
'java @shBrushJava.js', | |
'jfx javafx @shBrushJavaFX.js', | |
'js jscript javascript @shBrushJScript.js', | |
'perl pl @shBrushPerl.js', | |
'php @shBrushPhp.js', | |
'text plain @shBrushPlain.js', | |
'py python @shBrushPython.js', | |
'ruby rails ror rb @shBrushRuby.js', | |
'sass scss @shBrushSass.js', | |
'scala @shBrushScala.js', | |
'sql @shBrushSql.js', | |
'vb vbnet @shBrushVb.js', | |
'xml xhtml xslt html @shBrushXml.js' | |
)); | |
SyntaxHighlighter.all(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment