1jQuery(function( $ ) { 2 3 4 if(rllArgs.script === 'venobox') { 5 6 $.each($('a[rel*="'+rllArgs.selector+'"]'), function() { 7 var match = $(this).attr('rel').match(new RegExp(rllArgs.selector+'\\[(gallery\\-(?:[\\da-z]{1,4}))\\]', 'ig')); 8 9 if(match !== null) { 10 $(this).attr('data-gall', match[0]); 11 } 12 }); 13 $('a[rel*="'+rllArgs.selector+'"]').venobox(); 14 } else if(rllArgs.script === 'nivo_lightbox') { 15 $.each($('a[rel*="'+rllArgs.selector+'"]'), function() { 16 var match = $(this).attr('rel').match(new RegExp(rllArgs.selector+'\\[(gallery\\-(?:[\\da-z]{1,4}))\\]', 'ig')); 17 18 if(match !== null) { 19 $(this).attr('data-lightbox-gallery', match[0]); 20 } 21 }); 22 23 $('a[rel*="'+rllArgs.selector+'"]').nivoLightbox(); 24 } 25 26});
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.