Webpack / Rewrite all JS to ES6 Syntax
This commit is contained in:
parent
b3375c7f86
commit
a33c565365
5 changed files with 654 additions and 722 deletions
assets/common/js
10
assets/common/js/picwall.js
Normal file
10
assets/common/js/picwall.js
Normal 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();
|
||||
}
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue