1(function () { 2 var window = this, 3 $ = window.jQuery, 4 DDC = (window.DDC = (window.DDC || {})) 5 ; 6 7 DDC.modules.hours.refresh = function () { 8 $(DDC.modules.hours.selector + ':not(.consolidated)').each(function () { 9 var container = $(this), 10 li = container.find("li"), 11 day = new Date().getDay(), 12 firstDayOfWeek = 1, // Monday 13 today = (day - firstDayOfWeek + 7) % 7; 14 15 var maintenanceMode = false; 16 if (DDC.checkNested(DDC, 'dataLayer', 'page', 'pageInfo')) { 17 maintenanceMode = DDC.dataLayer.page.pageInfo.pageId === 'v9_SORRY_DEFAULT_V1_1'; 18 } 19 20 if (!maintenanceMode) { 21 li.each(function(index){ 22 if ( $(this).index() == today ) { 23 $(this).addClass("today"); 24 return false; 25 } 26 }); 27 } 28 }); 29 }; 30}());
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.