1 2$(() => { 3 $.getJSON('/api/notification/get', (data) => { 4 var notifications = []; 5 for (let x = 0; x < data.length; x++) { 6 if (data[x].Route.toLowerCase() == window.location.pathname.toLowerCase()) { 7 notifications.push(data[x]); 8 } 9 } 10 if (notifications.length > 0) { 11 AddNotification(notifications) 12 } 13 }); 14}); 15 16 17const AddNotification = (data) => { 18 //$('<div id="divParkPageNotification" class="container my-2 my-md-3"></div>').insertBefore($('h1:first')); 19 commonFunctions.loadHandlebarTemplate('/Scripts/Parks/TempClosure/Templates/Alerts.hbs', $('#alert-container'), data); 20}
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.