1jQuery.fn.timer = function( userdefinedoptions ){ 2 var $this = jQuery(this), opt, count = 0; 3 4 opt = jQuery.extend( { 5 // Config 6 'timer' : 300, // 300 second default 7 'width' : 400 , 8 'height' : 400 , 9 'fgColor' : "#ED7A53" , 10 'bgColor' : "#232323" 11 }, userdefinedoptions 12 ); 13 14 $this.knob({ 15 'min':0, 16 'max': opt.timer, 17 'readOnly': true, 18 'width': opt.width, 19 'height': opt.height, 20 'fgColor': opt.fgColor, 21 'bgColor': opt.bgColor, 22 'displayInput' : true, 23 'dynamicDraw': true, 24 'ticks': 2, 25 'thickness': 0.15 26 }); 27 28 setInterval(function(){ 29 newVal = ++count; 30 $this.val(newVal).trigger('change'); 31 }, 1000); 32};
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.