diff options
author | Zero~Informatique | 2021-07-01 20:19:47 +0200 |
---|---|---|
committer | Zero~Informatique | 2021-07-01 20:29:15 +0200 |
commit | c9ac0c75d9273d3df86e66f2dad830146b7b1008 (patch) | |
tree | add07b9ba2b0b9ae30c911054e9c2c140cc1346f /viewer/src | |
parent | 011cb4bcf271125b6d216f8def027b154954f25d (diff) | |
download | ldgallery-c9ac0c75d9273d3df86e66f2dad830146b7b1008.tar.gz |
viewer: Upgraded dependencies for Vue 2
Removed obsolete deps core-js ; resize-observer-polyfill
Diffstat (limited to 'viewer/src')
-rw-r--r-- | viewer/src/services/ldzoom.ts | 2 | ||||
-rw-r--r-- | viewer/src/store/galleryStore.ts | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/viewer/src/services/ldzoom.ts b/viewer/src/services/ldzoom.ts index 22d4699..0fb0848 100644 --- a/viewer/src/services/ldzoom.ts +++ b/viewer/src/services/ldzoom.ts | |||
@@ -17,8 +17,6 @@ | |||
17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. | 17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. |
18 | */ | 18 | */ |
19 | 19 | ||
20 | // polyfill still required for IE and Safari, see https://caniuse.com/#feat=resizeobserver | ||
21 | import ResizeObserver from "resize-observer-polyfill"; | ||
22 | import "hammerjs"; | 20 | import "hammerjs"; |
23 | 21 | ||
24 | /** | 22 | /** |
diff --git a/viewer/src/store/galleryStore.ts b/viewer/src/store/galleryStore.ts index 5d599aa..6d64e12 100644 --- a/viewer/src/store/galleryStore.ts +++ b/viewer/src/store/galleryStore.ts | |||
@@ -126,7 +126,7 @@ export default class GalleryStore extends VuexModule { | |||
126 | } | 126 | } |
127 | 127 | ||
128 | private static getUrlConfig() { | 128 | private static getUrlConfig() { |
129 | let search = window.location.search; | 129 | const search = window.location.search; |
130 | if (search.length > 1) return search.substr(1) + ".json"; | 130 | if (search.length > 1) return search.substr(1) + ".json"; |
131 | return "config.json"; | 131 | return "config.json"; |
132 | } | 132 | } |