Fix eslint error and update svelte related stuff
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user