1(function ($) { 2 /*jslint undef: false, browser: true, devel: false, eqeqeq: false, bitwise: false, white: false, plusplus: false, regexp: false, nomen: false */ 3 /*global jQuery,setTimeout,clearTimeout,projekktor,location,setInterval,YT,clearInterval,pixelentity,prettyPrint */ 4 5 6 $(function () { 7 // activate widgets 8 $.pixelentity.widgets.build($("body"),{}); 9 10 var ps = $(".resize-height p"); 11 var jwin = $(window); 12 13 var maxH = 0; 14 15 function getParHeight(idx,el) { 16 maxH = Math.max(maxH,ps.eq(idx).height()); 17 } 18 19 20 function setParHeight(idx,el) { 21 ps.eq(idx).height(maxH === 0 ? "auto" : maxH); 22 } 23 24 function parHeight() { 25 if (maxH > 0) { 26 maxH = 0; 27 ps.each(setParHeight); 28 } 29 if (jwin.width() > 768) { 30 ps.each(getParHeight); 31 ps.each(setParHeight); 32 } 33 34 } 35 36 if (ps.length > 0) { 37 jwin.resize(parHeight).triggerHandler("resize"); 38 } 39 40 $("blockquote").append('<span class="corner"></span>'); 41 42 }); 43 44 45}(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.