1// luminous JavaScript Document 2 3( function( $ ) { 4 5 $( document ).ready( function() { 6 7 var imgTag = 'a[href$=jpg],a[href$=jpeg],a[href$=gif],a[href$=png],a[href$=webp]'; 8 if ($(imgTag).length) { 9 var tagLength = $(imgTag).length; 10 11 if ( tagLength > 1 ) { 12 $(imgTag).attr('class', 'luminous-g'); 13 new LuminousGallery(document.querySelectorAll('.luminous-g')); 14 } else { 15 $(imgTag).attr('class', 'luminous') 16 var luminousTrigger = document.querySelector('.luminous'); 17 new Luminous(luminousTrigger); 18 } 19 } 20 21 } ); 22 23} )( 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.