💄 Standarize requires in JavaScript API
This commit is contained in:
parent
2317b56ac4
commit
0d3d097ce8
6 changed files with 10 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
|||
'use strict'
|
||||
|
||||
const ipcMain = require('electron').ipcMain
|
||||
const {ipcMain} = require('electron')
|
||||
|
||||
// The history operation in renderer is redirected to browser.
|
||||
ipcMain.on('ELECTRON_NAVIGATION_CONTROLLER', function (event, method, ...args) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue