Fix eslint error and update svelte related stuff

This commit is contained in:
2023-01-22 21:39:10 +01:00
parent 1143651549
commit b76f70a05f
32 changed files with 80 additions and 70 deletions

View File

@@ -364,7 +364,7 @@ export type Marker = {
*/
function WebGLSupport () {
try {
var canvas = document.createElement('canvas')
const canvas = document.createElement('canvas')
return !!window.WebGLRenderingContext && (canvas.getContext('webgl') || canvas.getContext('experimental-webgl'))
} catch(e) {
return false