;
if($('ikaudio').size()){
ddKey({
'audio' : 1
});
ync('question:idget/js/audio/audio.js', function(audio){
();
});
}
ync('question:idget/js/comment/comment.js', function(comm){
();
});
$('.recommend-text, .best-text, .anser-text, .replyask-content').each(function(i, anserText){
$(anserText).find('pre[t="code"]').each(function(i, pre){
var loadSyntax = function(){
SyntaxHighlighter(pre);
};
$(pre).text($(pre).html($(pre).html().replace(/
/ig, '##IK_LINEBREAK##')).text().split('##IK_LINEBREAK##').join('\n'));
$(pre).addClass('brush:'+$(pre).attr('l')+';toolbar:false;');
if (yntaxHighlighter) {
(pre);
$(anserText).find('.syntaxhighlighter .code .line').each(function(index, line){
$(anserText).find('.syntaxhighlighter .gutter .line').eq(index).height($(line).height());
});
} else {
var sioUrl = ('');
$.sio(sioUrl).callByBroser(function(){
SyntaxHighlighter.defaults['quick-code'] = false;
Brs = true;
(pre);
$(anserText).find('.syntaxhighlighter .code .line').each(function(index, line){
$(anserText).find('.syntaxhighlighter .gutter .line').eq(index).height($(line).height());
});
});
}
});
$(anserText).find('ikvideo').each(function(i, video){
var id = 'VIDEO_' + $.id(),
src = $(video).attr('src'),
sid;
-->>(第16/26页)(本章未完,请点击下一页继续阅读)