Use ipcMain in Electron's code
This commit is contained in:
parent
844cea8f21
commit
751af25f37
11 changed files with 16 additions and 16 deletions
|
@ -2,7 +2,7 @@ EventEmitter = require('events').EventEmitter
|
|||
Menu = require './menu'
|
||||
NavigationController = require './navigation-controller'
|
||||
binding = process.atomBinding 'web_contents'
|
||||
ipc = require 'ipc'
|
||||
ipc = require 'ipc-main'
|
||||
|
||||
nextId = 0
|
||||
getNextId = -> ++nextId
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue