1window.onload = function () { 2 var slideout = new Slideout({ 3 'panel': document.getElementById('panel'), 4 'menu': document.getElementById('menu'), 5 'duration': 1, 6 'side': 'right' 7 }); 8 9 try { 10 document.querySelector('.js-slideout-toggle').addEventListener('click', function () { 11 slideout.toggle(); 12 }); 13 } catch (TypeError) { 14 // do nothing 15 } 16 17 try { 18 document.querySelector('.menu').addEventListener('click', function (eve) { 19 if (eve.target.nodeName === 'A') { 20 slideout.close(); 21 } 22 }); 23 } catch (TypeError) { 24 // do nothing 25 } 26};
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.