Use event.returnValue instead of event.result in atom-shell's code.
event.result is still kept for backward compatible.
This commit is contained in:
parent
b225a59a15
commit
a9c824eba1
2 changed files with 18 additions and 18 deletions
|
@ -23,7 +23,7 @@ ipc.on('process.exit', function(pid, rid, code) {
|
|||
});
|
||||
|
||||
ipc.on('eval', function(ev, pid, rid, script) {
|
||||
ev.result = eval(script);
|
||||
ev.returnValue = eval(script);
|
||||
});
|
||||
|
||||
process.on('uncaughtException', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue