1(function ($) { 2 $(function () { 3 $.fn.fotoramaWPAdapter = function () { 4 this.each(function () { 5 var $this = $(this), 6 data = $this.data(), 7 $fotorama = $('<div></div>'); 8 9 $('dl', this).each(function () { 10 var $a = $('dt a', this); 11 $fotorama.append( 12 $a.attr('data-caption', $('dd', this).text()) 13 ); 14 }); 15 16 $this.html($fotorama.html()); 17 }); 18 19 return this; 20 }; 21 22 $('.fotorama--wp') 23 .fotoramaWPAdapter() 24 .fotorama(); 25 }); 26})(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.