chore: update to standard 12
This commit is contained in:
parent
9e85bdb02c
commit
558fff69e7
198 changed files with 4455 additions and 2940 deletions
|
@ -1,11 +1,11 @@
|
|||
const moduleList = require('../module-list')
|
||||
|
||||
for (const {
|
||||
name,
|
||||
load,
|
||||
enabled = true,
|
||||
private: isPrivate = false
|
||||
} of moduleList) {
|
||||
name,
|
||||
load,
|
||||
enabled = true,
|
||||
private: isPrivate = false
|
||||
} of moduleList) {
|
||||
if (!enabled) {
|
||||
continue
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ const ipcNative = process.atomBinding('ipc')
|
|||
v8Util.setHiddenValue(global, 'ipcNative', ipcNative)
|
||||
|
||||
ipcNative.onMessage = function (channel, args, senderId) {
|
||||
ipcRenderer.emit(channel, {sender: ipcRenderer, senderId}, ...args)
|
||||
ipcRenderer.emit(channel, { sender: ipcRenderer, senderId }, ...args)
|
||||
}
|
||||
|
||||
ipcNative.onExit = function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue