1var quotesCache={};var currentQuote={};var newQuote={};var spreadsheetId="1lKv-QbeMjyRcNnYRMX3eXLghfMevp0gbemiRawmdL8Q";var url="https://spreadsheets.google.com/feeds/list/"+spreadsheetId+"/od6/public/values?alt=json";var $=jQuery;$(init);function init(){if(hasCache()){var result=applyNewQuote();while(result===false){result=applyNewQuote();}}else{fetchInitialData();}};function randomId(){return Math.floor(Math.random()*quotesCache.length);} 2function hasCache(){return quotesCache.length>0?true:false;} 3function fromCache(){return quotesCache[randomId()];} 4function fetchInitialData(){$.getJSON(url,function(data){quotesCache=data.feed.entry;currentQuote=quotesCache[randomId()];prependCurrentQuote();});} 5function applyNewQuote(){newQuote=fromCache();if(currentQuote!=newQuote){currentQuote=newQuote;prependCurrentQuote();}else{return false;}} 6function prependCurrentQuote(){$('.quote-results').prepend('<h1 class="wow fadeInwow fadeIn hs-line-12 align-left headerbrah mb-20 mt-0">'+currentQuote.gsx$quote.$t+'</h1><p class="wow fadeIn subhead galaxie align-right mt-0 mb-40">'+currentQuote.gsx$author.$t+'</p>');} 7$('#more-motivation').click(function(){$('.quote-results').find('*').not('#more-motivation').remove();init();});
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.