mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Fixes nightly release
This commit is contained in:
parent
f50e0abe46
commit
2a243d07fe
5 changed files with 408 additions and 371 deletions
|
|
@ -21,13 +21,14 @@ global.self = global;
|
|||
global.document.queryCommandSupported = function () {
|
||||
return false;
|
||||
};
|
||||
|
||||
global.window = {
|
||||
location: {},
|
||||
navigator: tmp.window.navigator,
|
||||
matchMedia: function () {
|
||||
return {
|
||||
matches: false,
|
||||
addListener: function () {}
|
||||
addEventListener: function () {}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue