From ae55082cd839663c220e9a1a12b39cbd86ea0243 Mon Sep 17 00:00:00 2001 From: Martin d'Allens Date: Mon, 20 Nov 2023 22:45:41 +0100 Subject: [PATCH] fix: linting Signed-off-by: Martin d'Allens --- public/resources/gallery/gallery.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/resources/gallery/gallery.html b/public/resources/gallery/gallery.html index 05ac21c..216a956 100644 --- a/public/resources/gallery/gallery.html +++ b/public/resources/gallery/gallery.html @@ -19,6 +19,7 @@ img, canvas {
A fast way to visually check for regressions. Each row shows: a test picture, the expected output, then the difference with pixelmatch.
Put zurich_switzerland.mbtiles in public/resources/gallery/ then run with:
docker build . && docker run --rm -it -p 8080:8080 $(docker build -q .) -V --config /usr/src/app/public/resources/gallery/config.json
+
This page is then served at http://0.0.0.0:8080/gallery/gallery.html

Interactive vector

@@ -93,7 +94,7 @@ function loaded() { console.log('Loading done.'); let success = true; - for (const [id, url] of tests) { + for (const [id] of tests) { const numDiffPixels = compare('a_' + id, 'b_' + id, 'c_' + id); if (numDiffPixels > 0) { success = false;