import $ from 'jquery';
var Isotope = require('isotope-layout');
$(document).ready(function() {
// isotope (masonry) grid
if ($('.js-grid').length) {
$('.js-grid').each(function (i) {
var iso = new Isotope( this, {
itemSelector: '.js-grid-item',
percentPosition: true,
masonry: {
columnWidth: '.js-grid-sizer'
}
});
});
}
});