vendor: 666 bytes, lines 1-21
1/* global CONFIG */ 2 3window.addEventListener('tabs:register', () => { 4 let { activeClass } = CONFIG.comments; 5 if (CONFIG.comments.storage) { 6 activeClass = localStorage.getItem('comments_active') || activeClass; 7 } 8 if (activeClass) { 9 const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`); 10 if (activeTab) { 11 activeTab.click(); 12 } 13 } 14}); 15if (CONFIG.comments.storage) { 16 window.addEventListener('tabs:click', event => { 17 if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return; 18 const commentClass = event.target.classList[1]; 19 localStorage.setItem('comments_active', commentClass); 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.