Sha256: 1437b72c2e50b9d02773627b09ea0bddd1cc0d2d747a2b556763495b7660caba
Contents?: true
Size: 550 Bytes
Versions: 14
Compression:
Stored size: 550 Bytes
Contents
/* @preserve Masonry Init */ try { var elem = document.querySelector('.grid'); var msnry = new Masonry(elem, { itemSelector: '.grid-item', columnWidth: '.grid-sizer', gutter: '.gutter-sizer', percentPosition: true }); // layout Masonry after each image loads var imgLoad = imagesLoaded(elem); imgLoad.on('progress', function (instance, image) { msnry.layout(); }); } catch (err) { if (err instanceof ReferenceError) { // Do nothing, Masonry is defined only in the gallery page } else { throw err; } }
Version data entries
14 entries across 14 versions & 1 rubygems