]> khamidou — GitHub mirrors - electron.git/commitdiff
Replace shorthand if-statement notation in quick start docs
authorThomas Tuts <thomas.tuts@gmail.com>
Tue, 9 Jun 2015 16:17:12 +0000 (18:17 +0200)
committerThomas Tuts <thomas.tuts@gmail.com>
Tue, 9 Jun 2015 16:17:12 +0000 (18:17 +0200)
docs/tutorial/quick-start.md

index 073d2ee40c9553993c8a05b4ff273e1e07447563..644793f6237807876102a3b0640b73a861e36c19 100644 (file)
@@ -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