1(function($) { 2 'use strict'; 3 4 $(document).on('cnInitGallery', function (event, data) { 5 6 var element = data && data.element || document; 7 8 $(element).find('[data-module="grid-image-filter"]').each(function(){ 9 new CN.GridFilter( $(this), { 10 'itemSelector': '.js-thumbnail', 11 'layoutMode': 'masonry' 12 } ); 13 }); 14 15 $(element).find('[data-module="image-gallery"]').each(function(){ 16 new CN.ImageGallery( $(this) ); 17 }); 18 19 }); 20 21 $(document).trigger('cnInitGallery'); 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.