mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 05:50:11 +01:00
Fixes monaco-editor nightly build (needed for verification)
This commit is contained in:
parent
6c7087b94e
commit
b0330f8eed
4 changed files with 87 additions and 8 deletions
|
|
@ -26,6 +26,10 @@ global.UIEvent = tmp.window.UIEvent;
|
|||
global.window = {
|
||||
location: {},
|
||||
navigator: tmp.window.navigator,
|
||||
document: {
|
||||
body: tmp.window.document.body,
|
||||
addEventListener: (...args) => tmp.window.document.addEventListener(...args)
|
||||
},
|
||||
matchMedia: function () {
|
||||
return {
|
||||
matches: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue