1(function($){ 2 $.fn.numberRock=function(options){ 3 var defaults={ 4 speed:24, 5 count:100 6 }; 7 var opts=$.extend({}, defaults, options); 8 9 var div_by = 100, 10 count=opts["count"], 11 speed = Math.floor(count / div_by), 12 sum=0, 13 $display = this, 14 run_count = 1, 15 int_speed = opts["speed"]; 16 var int = setInterval(function () { 17 if (run_count <= div_by&&speed!=0) { 18 $display.text(sum=speed * run_count); 19 run_count++; 20 } else if (sum < count) { 21 $display.text(++sum); 22 } else { 23 clearInterval(int); 24 } 25 }, int_speed); 26 } 27 28})(jQuery); 29
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.