Replace shorthand if-statement notation in quick start docs
This commit is contained in:
parent
a6a5d50c3f
commit
4642630674
1 changed files with 2 additions and 1 deletions
|
@ -82,8 +82,9 @@ var mainWindow = null;
|
||||||
|
|
||||||
// Quit when all windows are closed.
|
// Quit when all windows are closed.
|
||||||
app.on('window-all-closed', function() {
|
app.on('window-all-closed', function() {
|
||||||
if (process.platform != 'darwin')
|
if (process.platform != 'darwin') {
|
||||||
app.quit();
|
app.quit();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// This method will be called when Electron has done everything
|
// This method will be called when Electron has done everything
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue