mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-26 01:27:42 +00:00
change(android): check globalThis before polyfill
This commit is contained in:
parent
0e8f34a2b3
commit
08a69b95d5
1 changed files with 3 additions and 1 deletions
|
|
@ -18,4 +18,6 @@ if(!Array.prototype.includes){
|
|||
|
||||
// This file is only referenced by the main Web engine; its "global" object is `window`.
|
||||
// `globalThis` is defined in Chrome 71+.
|
||||
var globalThis = window;
|
||||
if(typeof globalThis == 'undefined') {
|
||||
var globalThis = window;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue