1jQuery(document).ready(function($){ 2 wpconvb.showTime(); 3 wpconvb.showDate(); 4 5 $('.wpconvb-time').timer({ 6 completedText:'Closed', 7 onComplete: function ( el, data ){ 8 } 9 }); 10 11 $('.wpconvb_spots').number_counter({ 12 completedText:'Closed', 13 onComplete: function ( el, data ){ 14 } 15 }); 16 17}); 18 19var wpconvb = { 20 formatTime : function (i) { 21 return (i < 10) ? "0" + i : i; 22 }, 23 24 showTime: function() { 25 var today = new Date(), 26 h = this.formatTime(today.getHours()), 27 m = this.formatTime(today.getMinutes()), 28 s = this.formatTime(today.getSeconds()); 29 jQuery('.wpconvb_time').html(h + ":" + m + ":" + s); 30 t = setTimeout(function () { 31 wpconvb.showTime() 32 }, 1000); 33 }, 34 35 showDate: function (){ 36 var today = new Date(), 37 months = ['January','February','March','April','May','June','July','August','September','October','November','December']; 38 39 dt = today.getDate() + ' ' + months[today.getMonth()] + ', ' +today.getFullYear(); 40 jQuery('.wpconvb_date').html(dt); 41 }, 42 43 timer : { 44 45 init: function (){ 46 jQuery('.wpconvb_timer').each(function(){ 47 var auto = jQuery(this).attr('data-autostart'), 48 id = jQuery(this).attr('data-id'); 49 if( auto == 1 ){ 50 51 }else{ 52 } 53 }); 54 } 55 } 56};
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.