mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-28 18:47:41 +00:00
fix(android): polyfill globalThis for API 28 devices
Fixes: #14450 Cherry-pick-of: #14541
This commit is contained in:
parent
afcd7e343e
commit
2cee36e86b
1 changed files with 4 additions and 1 deletions
|
|
@ -14,4 +14,7 @@ if(!Array.prototype.includes){
|
|||
Array.prototype.includes = function(search){
|
||||
return !!~this.indexOf(search);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// This file is only referenced by the main Web engine; its "global" object is `window`.
|
||||
var globalThis = window;
|
||||
Loading…
Add table
Reference in a new issue