add gitignore and alerts
This commit is contained in:
parent
ad88536911
commit
fb61142ca5
|
@ -0,0 +1,5 @@
|
|||
/images/src/*
|
||||
/images/thumbs/*
|
||||
!/images/src/.gitkeep
|
||||
!/images/thumbs/.gitkeep
|
||||
/images.json
|
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue