mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-27 17:30:51 +08:00
No need to route via ATOM_INTERNAL_MESSAGE
This commit is contained in:
@@ -4,9 +4,6 @@ v8Util = process.atomBinding 'v8_util'
|
||||
# Created by init.coffee.
|
||||
ipc = v8Util.getHiddenValue global, 'ipc'
|
||||
|
||||
ipc.on 'ATOM_INTERNAL_MESSAGE', (args...) ->
|
||||
@emit args...
|
||||
|
||||
ipc.send = (args...) ->
|
||||
binding.send 'ipc-message', [args...]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user