1$(document).ready(function () { 2 /*----------------------------------------------------------------------------- 3 Template niceties 4 */ 5 // header particles 6 particlesJS.load('bg', URLS.assets.header_particles) 7 8 // fix menu when passed 9 $('.masthead') 10 .visibility({ 11 once: false, 12 onBottomPassed: function () { 13 $('.fixed.menu').transition('fade in') 14 }, 15 onBottomPassedReverse: function () { 16 $('.fixed.menu').transition('fade out') 17 } 18 }) 19 20 // Make base template dropdown not change text on selection 21 $("#user_dropdown").dropdown({ 22 action: 'hide' 23 }) 24 25 $("#competition_dropdown").dropdown({ 26 action: 'hide' 27 }) 28 // Sidebar helpers 29 $('.ui.thin.sidebar') 30 .sidebar({ 31 transition: 'overlay' 32 }) 33 .sidebar('attach events', '#hamburger_button'); 34 35 /*----------------------------------------------------------------------------- 36 Riotjs 37 */ 38 riot.mount('*') 39})
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.