1(function ($) { 2 function countdown(el) { 3 const $this = $(el); 4 5 $this.countdown({ 6 date: $this.data('date'), 7 render: function (data) { 8 return $(this.el).html( 9 '<div>' + this.leadingZeros(data.days, 2) + ' <span>' + Journal['countdownDay'] + '</span></div>' + 10 '<div>' + this.leadingZeros(data.hours, 2) + ' <span>' + Journal['countdownHour'] + '</span></div>' + 11 '<div>' + this.leadingZeros(data.min, 2) + ' <span>' + Journal['countdownMin'] + '</span></div>' + 12 '<div>' + this.leadingZeros(data.sec, 2) + ' <span>' + Journal['countdownSec'] + '</span></div>'); 13 } 14 }); 15 } 16 17 Journal.lazy('countdown', '.countdown', { 18 load: function (el) { 19 Journal.load(Journal['assets']['countdown'], 'countdown', function () { 20 countdown(el); 21 }); 22 } 23 }); 24})(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.