1;(function ($) { 2 $(document).ready(function () { 3 var $toggleButton = $("#nav_toggle") 4 var $closeButton = $("#nav_close") 5 var $layer = $("#navigation-layer") 6 $toggleButton.click(function () { 7 $layer.fadeIn() 8 }) 9 $closeButton.click(function () { 10 $layer.fadeOut() 11 }) 12 $(window).resize(function () { 13 clearTimeout(this.resizeDebounce) 14 this.resizeDebounce = setTimeout(function () { 15 updateState() 16 }, 100) 17 }) 18 updateState() 19 20 function updateState() { 21 var breakpoint = bootstrapDetectBreakpoint() 22 if (breakpoint.index <= 3) { 23 $toggleButton.fadeIn() 24 } else { 25 $toggleButton.fadeOut() 26 } 27 } 28 // $layer.fadeIn() // for testing 29 }) 30})(jQuery)
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.