From: Thomas Tuts Date: Tue, 9 Jun 2015 16:17:12 +0000 (+0200) Subject: Replace shorthand if-statement notation in quick start docs X-Git-Tag: v0.28.0~12^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=464263067403f9607f2f1218a5bf5ad6d0a272ae;p=electron.git Replace shorthand if-statement notation in quick start docs --- diff --git a/docs/tutorial/quick-start.md b/docs/tutorial/quick-start.md index 073d2ee4..644793f6 100644 --- a/docs/tutorial/quick-start.md +++ b/docs/tutorial/quick-start.md @@ -82,8 +82,9 @@ var mainWindow = null; // Quit when all windows are closed. app.on('window-all-closed', function() { - if (process.platform != 'darwin') + if (process.platform != 'darwin') { app.quit(); + } }); // This method will be called when Electron has done everything