<file_sep>import lozad from 'lozad';
import 'intersection-observer';

if (module.hot) {
  module.hot.accept();
}

IntersectionObserver.prototype.POLL_INTERVAL = 100;
const observer = lozad();
observer.observe();

const lazyLoad = () => {
  const images = document.querySelectorAll('.lozad');
  for (let i; i < images; i++) {
    observer.triggerLoad(images[i]);
  }
};

lazyLoad();
