Adding entry for objective-c and ASM in autoloader
This commit is contained in:
parent
326cdd953e
commit
0e0b7469d7
@ -156,12 +156,13 @@ function gotoline()
|
|||||||
}
|
}
|
||||||
function changegutter()
|
function changegutter()
|
||||||
{
|
{
|
||||||
if ($('.gutter > [class*=number]').first().offset() == null)
|
if ($('#highlight').find('.gutter > [class*=number]').first().offset() == null)
|
||||||
{
|
{
|
||||||
window.setTimeout(changegutter, 100);
|
window.setTimeout(changegutter, 100);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$(".gutter > [class*=number]").each(function(){ $(this).html('<a href="https://' + window.location.hostname + window.location.pathname + '#' + $(this).html() +'">' + $(this).html() + '</a>'); });
|
|
||||||
|
$('#highlight').find('.gutter > [class*=number]').each(function(){ $(this).html('<a href="https://' + window.location.hostname + window.location.pathname + '#' + $(this).html() +'">' + $(this).html() + '</a>'); });
|
||||||
|
|
||||||
}
|
}
|
||||||
$(function() {
|
$(function() {
|
||||||
@ -191,7 +192,9 @@ $(function() {
|
|||||||
'scala @shBrushScala.js',
|
'scala @shBrushScala.js',
|
||||||
'sql @shBrushSql.js',
|
'sql @shBrushSql.js',
|
||||||
'vb vbnet @shBrushVb.js',
|
'vb vbnet @shBrushVb.js',
|
||||||
'xml xhtml xslt html @shBrushXml.js'
|
'xml xhtml xslt html @shBrushXml.js',
|
||||||
|
'objc @shBrushObjC.js',
|
||||||
|
'asm @shBrushAsm.js'
|
||||||
));
|
));
|
||||||
SyntaxHighlighter.all();
|
SyntaxHighlighter.all();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user