1(function ($) { 2 'use strict'; 3 4 window.addEventListener('scroll', function(){ 5 var doc = document.documentElement; 6 var top = (window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0); 7 8 if(top > 0){ 9 document.body.classList.add('scrolled'); 10 }else{ 11 document.body.classList.remove('scrolled'); 12 } 13 14 }); 15 16})(jQuery);
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.