1require(['jquery'], function ($) { 2 'use strict'; 3 4 $(document).ready(function () { 5 var autoplayInterval = 4000; 6 function startAutoplay(fotoramaDiv) { 7 var fotorama = fotoramaDiv.data('fotorama'); 8 if (fotorama) { 9 setInterval(function () { 10 fotorama.show('>'); 11 }, autoplayInterval); 12 } 13 } 14 15 var checkFotorama = setInterval(function () { 16 var $fotoramaDiv = $('.fotorama[data-gallery-role="gallery"]'); 17 if ($fotoramaDiv.length && $fotoramaDiv.data('fotorama')) { 18 clearInterval(checkFotorama); 19 startAutoplay($fotoramaDiv); 20 } 21 }, 300); 22 }); 23});
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.