mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
update deps
This commit is contained in:
parent
6950069f37
commit
3c52c0fadf
8 changed files with 75 additions and 71 deletions
|
|
@ -5,7 +5,11 @@ const BrowserWindow = electron.BrowserWindow;
|
|||
let mainWindow;
|
||||
|
||||
function createWindow() {
|
||||
mainWindow = new BrowserWindow({ width: 800, height: 600 });
|
||||
mainWindow = new BrowserWindow({
|
||||
width: 800,
|
||||
height: 600,
|
||||
webPreferences: { worldSafeExecuteJavaScript: true }
|
||||
});
|
||||
mainWindow.loadURL(`file://${__dirname}/electron-index.html`);
|
||||
mainWindow.webContents.openDevTools();
|
||||
mainWindow.on('closed', function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue