1if (typeof jQuery == "undefined") { 2 throw new Error("Documentation needs the jQuery library to function.") 3} 4; 5$('body').scrollspy({ 6 target: '#my-nav', 7 offset: 20 8}); 9var bs = $('.footer').outerHeight() + 10; 10$("#my-nav").sticky({topSpacing: 20, bottomSpacing: bs}); 11$("span.version").html(version || ""); 12 13$(document).ready(function () { 14 prettyPrint(); 15 setTimeout(function () { 16 if (typeof google_jobrunner == 'undefined' && !localStorage['adsok']) { 17 $.confirm({ 18 title: 'Hmmm, ad blocker', 19 theme: 'material', 20 content: "Ads aren't what you're here for. But ads help me support my work. So, please consider to add this domain to your blocker's whitelist.", 21 closeIcon: false, 22 buttons: { 23 done: { 24 text: 'Did it', 25 btnClass: 'btn-green', 26 action: function () { 27 $.alert('I really appreciate this. Thank you.', 'You\'re awesome'); 28 setTimeout(function () { 29 location.reload(); 30 }, 1000); 31 } 32 }, 33 doNotAskAgain: { 34 text: 'Don\'t ask', 35 action: function () { 36 localStorage['adsok'] = true; 37 } 38 }, 39 donate: { 40 text: 'Donate', 41 btnClass: 'btn-default', 42 action: function () { 43 window.open('https://www.paypal.me/bonifacepereira', '_blank'); 44 localStorage['adsok'] = true; 45 } 46 } 47 48 } 49 }); 50 } 51 }, 1000); 52 53 $('.change-format-css').click(function () { 54 $('.change-format-css').addClass('active'); 55 $('.change-format-less').removeClass('active'); 56 $('.format-less').hide(); 57 $('.format-css').show(); 58 }); 59 $('.change-format-less').click(function () { 60 $('.change-format-less').addClass('active'); 61 $('.change-format-css').removeClass('active'); 62 $('.format-css').hide(); 63 $('.format-less').show(); 64 }); 65}); 66$('.format-css').hide(); 67 68function rs() { 69} 70$(window).resize(function () { 71 rs(); 72}) 73rs();
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.