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

index bbb37862da44af9599f1f22341c30ce0a96ab5fb..20b29c4114a9e8633baaf6bbcb70e1dff4d1569e 100644 (file)
@@ -23,8 +23,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();
+  }
 });
 
 // Specify flash path.