1(function ($, window, undefined) { 2 $.fn.verticalTextAligner = function () { 3 heights = []; 4 ele = []; 5 prev = null; 6 tot = this.length; 7 this.each(function (i) { 8 let top = parseInt($(this).offset().top); 9 if (i == 0) prev = top; 10 if (top != prev) { 11 maxHeight = Math.max.apply(null, ele.map(e => e.height())); 12 ele.map(e => { 13 $(e).height(maxHeight); 14 }); 15 16 heights = [top]; 17 ele = [$(this)]; 18 } else { 19 heights.push(top); 20 ele.push($(this)); 21 } 22 23 if (i == tot - 1) { 24 maxHeight = Math.max.apply(null, ele.map(e => e.height())); 25 ele.map(e => { 26 $(e).height(maxHeight); 27 }); 28 } 29 30 prev = top; 31 }); 32 }; 33}(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.