diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-03-28 19:08:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 19:08:06 +0200 |
commit | c81f1afc0a3a16daf98741a63c7524b27835da99 (patch) | |
tree | dfe81b73f028dfc27eda916b14bf4bc17966b082 /assets/common | |
parent | 9b2bd66fb60ffd5a833480bf329062c7d57bc8c4 (diff) | |
parent | d7eb06bd7c4d01bbdf67f4f100af7a3e300098d3 (diff) | |
download | Shaarli-c81f1afc0a3a16daf98741a63c7524b27835da99.tar.gz Shaarli-c81f1afc0a3a16daf98741a63c7524b27835da99.tar.zst Shaarli-c81f1afc0a3a16daf98741a63c7524b27835da99.zip |
Merge pull request #1072 from ArthurHoaro/feature/modern-front-end
Manage frontend dependencies with npm/yarn and webpack
Diffstat (limited to 'assets/common')
-rw-r--r-- | assets/common/js/picwall.js | 10 |
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 @@ | |||
1 | import 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 | })(); | ||