`globalThis` undefined
dcooley opened this issue · comments
in deck.gl 6407 deck.gl replaced global
with globalThis
.
Rstudio doesn't appear to like this and can't find globalThis
.
I don't know if this is correct, but this solution at the top of mapdeck.js
seems to solve it. But I have no idea of the downstream consequences
if( typeof globalThis === 'undefined') {
var globalThis = window;
}