1(function ($, Drupal, once) { 2 'use strict'; 3 Drupal.behaviors.meGalleryGrid = { 4 attach: function (context, settings) { 5 $(once('me-gallery-grid-processed', '.me-gallery-grid', context)).each(function () { 6 var $grid = $(this).masonry({ 7 itemSelector: '.grid-item', 8 columnWidth: '.grid-item', 9 gutter: '.gutter-sizer', 10 percentPosition: true, 11 horizontalOrder: true 12 }); 13 $grid.imagesLoaded().progress( function() { 14 $grid.masonry('layout'); 15 }); 16 }); 17 } 18 }; 19}) (jQuery, Drupal, once)
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.