1WebFont.load({ 2 custom: { 3 families: ['tbudgothic-std','source-han-sans-japanese',], 4 }, 5 active: function() { 6 jQuery(function($) { 7 $('.ellipsis').each(function() { 8 var $target = $(this); 9 var html = $target.html(); 10 11 var $clone = $target.clone(); 12 $clone 13 .css({ 14 display: 'none', 15 position : 'absolute', 16 overflow : 'visible', 17 maxHeight: 'none', 18 }) 19 .width($target.width()) 20 .height('auto'); 21 22 $target.after($clone); 23 while((html.length > 0) && ($clone.height() > $target.height() + 1)) { 24 html = html.substr(0, html.length - 1); 25 $clone.html(html + '...'); 26 } 27 28 $target.html($clone.html()); 29 $clone.remove(); 30 }); 31 }); 32 } 33});
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.