1function tsgHandleFadeIns() { 2 const pageTop = jQuery(document).scrollTop(); 3 const pageBottom = pageTop + jQuery(window).height(); 4 5 jQuery('.fadein').each(function() { 6 const $el = jQuery(this); 7 if ($el.offset().top < pageBottom) { 8 $el.addClass('visible'); 9 } else { 10 $el.removeClass('visible'); 11 } 12 }); 13} 14 15jQuery(function($){ 16 $(window).on('scroll resize', tsgHandleFadeIns); 17 tsgHandleFadeIns(); 18});
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.