1(function() { 2 var $body, conf, sportInit; 3 4 $body = $('body'); 5 6 conf = banpakuConf; 7 8 sportInit = function() { 9 var activeStatus, activeStatusNav, myDate, nav, now; 10 activeStatus = null; 11 activeStatusNav = null; 12 if (($('#statsu-list').length)) { 13 nav = '.module__sport-status-list .nav a'; 14 $(nav).on('click', function(e) { 15 e.preventDefault(); 16 activeStatusNav = $(this); 17 if (activeStatus) { 18 activeStatus.css('display', 'none'); 19 } 20 activeStatus = $('#' + activeStatusNav.data('date')); 21 return activeStatus.css('display', 'block'); 22 }); 23 myDate = new Date(); 24 now = 'status-'; 25 now += myDate.getFullYear() + '-'; 26 now += (myDate.getMonth() + 1) + ''; 27 $(nav + '[data-date="' + now + '"]').trigger('click'); 28 } 29 }; 30 31 if (($('body.page-id-2927').length)) { 32 $body.append('<script src="' + conf.path.js + 'page-livecam.js"></script>'); 33 } 34 35 $(function() { 36 var pageSlug; 37 pageSlug = banpakuConf.pageSlug; 38 if ($body.hasClass('color-sport')) { 39 sportInit(); 40 } 41 }); 42 43}).call(this); 44 45//# sourceMappingURL=page.js.map
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.