Skip to content

Commit

Permalink
docs: apply arrow functions to app.makeSingleInstance example
Browse files Browse the repository at this point in the history
  • Loading branch information
Moisés Neto committed Oct 31, 2018
1 parent a8f2646 commit b1c449d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/api/breaking-changes.md
Expand Up @@ -30,13 +30,13 @@ The following list includes the breaking API changes planned for Electron 4.0.

```js
// Deprecated
app.makeSingleInstance(function (argv, cwd) {

app.makeSingleInstance((argv, cwd) => {
/* ... */
})
// Replace with
app.requestSingleInstanceLock()
app.on('second-instance', function (argv, cwd) {

app.on('second-instance', (argv, cwd) => {
/* ... */
})
```

Expand Down

0 comments on commit b1c449d

Please sign in to comment.