add gitignore and alerts

This commit is contained in:
Simon Vieille 2023-01-07 18:34:50 +01:00
parent ad88536911
commit fb61142ca5
Signed by: deblan
GPG Key ID: 579388D585F70417
2 changed files with 7 additions and 1 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
/images/src/*
/images/thumbs/*
!/images/src/.gitkeep
!/images/thumbs/.gitkeep
/images.json

View File

@ -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
})