No need to route via ATOM_INTERNAL_MESSAGE
This commit is contained in:
parent
ad16e9ea49
commit
20431f4f2f
2 changed files with 2 additions and 5 deletions
|
@ -9,8 +9,8 @@ module.exports.wrap = (webContents) ->
|
|||
webContents.__proto__ = EventEmitter.prototype
|
||||
|
||||
# WebContents::send(channel, args..)
|
||||
webContents.send = (args...) ->
|
||||
@_send 'ATOM_INTERNAL_MESSAGE', [args...]
|
||||
webContents.send = (channel, args...) ->
|
||||
@_send channel, [args...]
|
||||
|
||||
# Make sure webContents.executeJavaScript would run the code only when the
|
||||
# web contents has been loaded.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue