aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/common/js/picwall.js
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-02-24 18:30:30 +0100
committerArthurHoaro <arthur@hoa.ro>2018-03-28 19:01:17 +0200
commita33c5653655215d3a6496807f15a896d4b85f070 (patch)
tree59bb872b5afeb3a810c30ae8d420c6b192de4bea /assets/common/js/picwall.js
parentb3375c7f86f35fce723185bb76d3b5f9c4ff7a07 (diff)
downloadShaarli-a33c5653655215d3a6496807f15a896d4b85f070.tar.gz
Shaarli-a33c5653655215d3a6496807f15a896d4b85f070.tar.zst
Shaarli-a33c5653655215d3a6496807f15a896d4b85f070.zip
Webpack / Rewrite all JS to ES6 Syntax
Diffstat (limited to 'assets/common/js/picwall.js')
-rw-r--r--assets/common/js/picwall.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/assets/common/js/picwall.js b/assets/common/js/picwall.js
new file mode 100644
index 00000000..87a93fc3
--- /dev/null
+++ b/assets/common/js/picwall.js
@@ -0,0 +1,10 @@
1import Blazy from 'blazy';
2
3(() => {
4 const picwall = document.getElementById('picwall_container');
5 if (picwall != null) {
6 // Suppress ESLint error because that's how bLazy works
7 /* eslint-disable no-new */
8 new Blazy();
9 }
10})();