Fix a typo
This commit is contained in:
parent
d9e1861aff
commit
ecbb46344c
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ ipc.on('asynchronous-message', function(event, arg) {
|
||||||
|
|
||||||
ipc.on('synchronous-message', function(event, arg) {
|
ipc.on('synchronous-message', function(event, arg) {
|
||||||
console.log(arg); // prints "ping"
|
console.log(arg); // prints "ping"
|
||||||
event.returnValue = 'pong'.
|
event.returnValue = 'pong';
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue