1;(function() { 2 'use strict'; 3 4 document.addEventListener('DOMContentLoaded', function() { 5 let section = document.querySelector('[data-category-menu]'); 6 7 if (section) 8 { 9 let elements = Array.prototype.slice.call(document.querySelectorAll('[data-category-menu-title]')); 10 elements.forEach(function(element, index, list) { 11 element.addEventListener('click', function() { 12 list.forEach(function(element) { 13 element.removeAttribute('data-active'); 14 }); 15 16 element.setAttribute('data-active', 'true'); 17 }); 18 }); 19 } 20 }); 21})();
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.