1import { $, $body, $win, classes } from './globals.js'; 2 3export const ScrollController = { 4 $body, 5 $win, 6 scrollLockClass: classes.scrollLock, 7 enableScroll: function() { 8 this.$body.removeClass(this.scrollLockClass); 9 this.$win.trigger('updateVariables'); 10 }, 11 disableScroll: function() { this.$body.addClass(this.scrollLockClass); }, 12 toggleScroll: function(state = null) { 13 if(state === null) return; 14 15 state ? this.enableScroll() : this.disableScroll(); 16 }, 17};
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.