Globe: Rename instance

This commit is contained in:
2020-04-09 23:15:34 +02:00
parent a4feadb80f
commit 6d27fcb5d8

View File

@@ -25,11 +25,11 @@
// For browser only
if (process.browser) {
// Import libraries and code
let WebglGlobe
await import('globe').then(module => WebglGlobe = module.default)
let Globe
await import('globe').then(module => Globe = module.default)
// Init the globe from library
globe = new WebglGlobe({
globe = new Globe({
el: scope,
texture: '/img/globe/map-2k.png',
markers: [...$locations.map(location => {