1var flipTimer; 2 3$(function () { 4 5 randomFlip(); 6 7 flipTimer = setInterval("randomFlip()", 1000 + randomInteger(1000, 3000)); 8 9 $('.flip-grid .item').on('click', function () { 10 $(this).find('.flipper-card').toggleClass('flipper-is-flipped'); 11 clearInterval(flipTimer); 12 }); 13 14}); 15 16function randomFlip() { 17 var cards = $('.flip-grid').children(); 18 var i = randomInteger(0, cards.length - 1); 19 console.debug("ÐеÑевоÑаÑÐ¸Ð²Ð°Ñ ÐºÐ°ÑÑоÑÐºÑ " + i); 20 $(cards[i]).find('.flipper-card').toggleClass('flipper-is-flipped'); 21} 22 23function randomInteger(min, max) { 24 var rand = min - 0.5 + Math.random() * (max - min + 1); 25 rand = Math.round(rand); 26 return rand; 27}
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.