1/* 2 TXT by Pixelarity 3 pixelarity.com | [email protected] 4 License: pixelarity.com/license 5*/ 6 7(function($) { 8 9 var $window = $(window), 10 $body = $('body'), 11 $nav = $('#nav'); 12 13 // Breakpoints. 14 breakpoints({ 15 xlarge: [ '1281px', '1680px' ], 16 large: [ '981px', '1280px' ], 17 medium: [ '737px', '980px' ], 18 small: [ '361px', '736px' ], 19 xsmall: [ null, '360px' ] 20 }); 21 22 // Play initial animations on page load. 23 $window.on('load', function() { 24 window.setTimeout(function() { 25 $body.removeClass('is-preload'); 26 }, 100); 27 }); 28 29 // Dropdowns. 30 $('#nav > ul').dropotron({ 31 mode: 'fade', 32 noOpenerFade: true, 33 speed: 300, 34 alignment: 'center' 35 }); 36 37 // Scrolly 38 $('.scrolly').scrolly({ 39 speed: 1000, 40 offset: function() { return $nav.height() - 5; } 41 }); 42 43 // Nav. 44 45 // Title Bar. 46 $( 47 '<div id="titleBar">' + 48 '<a href="#navPanel" class="toggle"></a>' + 49 '<span class="title">' + $('#logo').html() + '</span>' + 50 '</div>' 51 ) 52 .appendTo($body); 53 54 // Panel. 55 $( 56 '<div id="navPanel">' + 57 '<nav>' + 58 $('#nav').navList() + 59 '</nav>' + 60 '</div>' 61 ) 62 .appendTo($body) 63 .panel({ 64 delay: 500, 65 hideOnClick: true, 66 hideOnSwipe: true, 67 resetScroll: true, 68 resetForms: true, 69 side: 'left', 70 target: $body, 71 visibleClass: 'navPanel-visible' 72 }); 73 74})(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.