1/** 2 * WPClubManager Frontend JS 3 */ 4jQuery(document).ready(function() { 5 // Next Match countdown 6 jQuery('[data-countdown]').each(function() { 7 var $this = jQuery(this), finalDate = jQuery(this).data('countdown'); 8 $this.countdown(finalDate, function(event) { 9 var $this = jQuery(this).html(event.strftime('' 10 + '<div class="countdown-unit"><span>%-D</span> '+wpclubmanager_L10n.days+'%!D</div> ' 11 + '<div class="countdown-unit"><span>%H</span> '+wpclubmanager_L10n.hrs+'</div> ' 12 + '<div class="countdown-unit"><span>%M</span> '+wpclubmanager_L10n.mins+'</div> ' 13 + '<div class="countdown-unit"><span>%S</span> '+wpclubmanager_L10n.secs+'</div> ')); 14 }); 15 }); 16}); 17 18jQuery(function(){ 19 20 jQuery('.stats-tabs a').click(function(){ 21 var t = jQuery(this).attr('href'); 22 23 jQuery(this).parent().addClass('tabs').siblings('li').removeClass('tabs'); 24 jQuery(this).parent().parent().parent().find('.tabs-panel').hide(); 25 jQuery(t).show(); 26 27 return false; 28 }); 29 30 jQuery('.wpcm-fixtures-shortcode tbody tr').click(function() { 31 if(jQuery(this).attr('data-url') !== undefined) { 32 document.location = jQuery(this).attr('data-url'); 33 } 34 }); 35 36});
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.