1$(document).ready(function() { 2 $('#post-new-comment').click(function() { 3 var documentBody = (($.browser.chrome)||($.browser.safari)) ? document.body : document.documentElement; 4 $(documentBody).animate({scrollTop: $('#articles_commentaires_titre').offset().top}, 1000); 5 return false; 6 }); 7 8 $('.b4e-avatar').live('mouseenter', function() { 9 $('#'+$(this).data('details')).fadeIn(); 10 }); 11 12 $('.b4e-avatar').live('mouseleave', function(e) { 13 $('#'+$(this).data('details')).delay(100).fadeOut(); 14 }); 15 16 $('.popover').live('mouseenter', function(e) { 17 $(this).clearQueue(); 18 }); 19 20 $('.popover').live('mouseleave', function() { 21 $(this).delay(100).fadeOut(); 22 }); 23 24 $('.website a').live('click', function() { 25 window.open($(this).attr('href')); 26 return false; 27 }); 28 29 $('a[data-action="reply"]').live('click', function() { 30 var trigger = $(this); 31 32 $.ajax({ 33 url: '/article/'+trigger.data('article-id')+'/commentaires/'+trigger.data('comment-id')+'/repondre', 34 success: function(data) { 35 36 if(trigger.data('display') == 'nested') 37 { 38 if(trigger.parents('dd.commentaire_message').first().find('.reply-comment').length > 0) 39 trigger.parents('dd.commentaire_message').first().children('.reply-comment').remove(); 40 else 41 trigger.parents('dd.commentaire_message').first().children('.actions').after(data); 42 } 43 else 44 { 45 if(trigger.parents('ul').first().find('.reply-comment').length > 0) 46 trigger.parents('ul').first().find('.reply-comment').remove(); 47 else 48 trigger.parents('li').first().after('<li class="reply-comment">'+data+'</li>'); 49 } 50 } 51 }); 52 53 return false; 54 }); 55});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.