From fb61142ca5f58bf633b8bba7b1bc47de3dad60cc Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 7 Jan 2023 18:34:50 +0100 Subject: [PATCH] add gitignore and alerts --- .gitignore | 5 +++++ index.html | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..33581b4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/images/src/* +/images/thumbs/* +!/images/src/.gitkeep +!/images/thumbs/.gitkeep +/images.json diff --git a/index.html b/index.html index a31f05c..b25bb42 100644 --- a/index.html +++ b/index.html @@ -75,7 +75,6 @@ createApp({ imageIndex: -1, imagesToLoad: 0, imagesLoaded: 0, - background: null, } }, methods: { @@ -95,6 +94,8 @@ createApp({ img.onerror = () => { --this.imagesToLoad ++this.imagesLoaded + + console.log(`${info.file} not loaded!`) } img.src = info.file })