diff --git a/electronasar/canary/browser/api/menu-item-roles.js b/electronasar/canary/browser/api/menu-item-roles.js index 28cc1c5..b9ea0ce 100644 --- a/electronasar/canary/browser/api/menu-item-roles.js +++ b/electronasar/canary/browser/api/menu-item-roles.js @@ -177,7 +177,7 @@ const roles = { { role: 'services' }, { type: 'separator' }, { role: 'hide' }, - { role: 'hideothers' }, + { role: 'hideOthers' }, { role: 'unhide' }, { type: 'separator' }, { role: 'quit' } @@ -208,8 +208,8 @@ const roles = { { label: 'Speech', submenu: [ - { role: 'startspeaking' }, - { role: 'stopspeaking' } + { role: 'startSpeaking' }, + { role: 'stopSpeaking' } ] } ] : [ @@ -224,12 +224,12 @@ const roles = { label: 'View', submenu: [ { role: 'reload' }, - { role: 'forcereload' }, - { role: 'toggledevtools' }, + { role: 'forceReload' }, + { role: 'toggleDevTools' }, { type: 'separator' }, - { role: 'resetzoom' }, - { role: 'zoomin' }, - { role: 'zoomout' }, + { role: 'resetZoom' }, + { role: 'zoomIn' }, + { role: 'zoomOut' }, { type: 'separator' }, { role: 'togglefullscreen' } ] diff --git a/electronasar/canary/renderer/window-setup.js b/electronasar/canary/renderer/window-setup.js index 4a3c8a8..cbc2ebf 100644 --- a/electronasar/canary/renderer/window-setup.js +++ b/electronasar/canary/renderer/window-setup.js @@ -73,7 +73,7 @@ class LocationProxy { // TypeScript doesn't want us to assign to read-only variables. // It's right, that's bad, but we're doing it anway. guestURL[propertyKey] = newVal; - return this.ipcRenderer.sendSync('ELECTRON_GUEST_WINDOW_MANAGER_WEB_CONTENTS_METHOD_SYNC', this.guestId, 'loadURL', guestURL.toString()); + return ipc_renderer_internal_1.ipcRendererInternal.sendSync('ELECTRON_GUEST_WINDOW_MANAGER_WEB_CONTENTS_METHOD_SYNC', this.guestId, 'loadURL', guestURL.toString()); } } });