Use ipcMain in Electron's code

This commit is contained in:
Cheng Zhao 2015-11-10 16:04:34 +08:00
parent 844cea8f21
commit 751af25f37
11 changed files with 16 additions and 16 deletions

View file

@ -1,4 +1,4 @@
ipc = require 'ipc'
ipc = require 'ipc-main'
# The history operation in renderer is redirected to browser.
ipc.on 'ATOM_SHELL_NAVIGATION_CONTROLLER', (event, method, args...) ->