Webpack / Rewrite all JS to ES6 Syntax

This commit is contained in:
ArthurHoaro 2018-02-24 18:30:30 +01:00
parent b3375c7f86
commit a33c565365
5 changed files with 654 additions and 722 deletions
assets/common/js

View file

@ -0,0 +1,10 @@
import Blazy from 'blazy';
(() => {
const picwall = document.getElementById('picwall_container');
if (picwall != null) {
// Suppress ESLint error because that's how bLazy works
/* eslint-disable no-new */
new Blazy();
}
})();