From: Thomas Tuts Date: Tue, 9 Jun 2015 16:17:38 +0000 (+0200) Subject: Replace shorthand if-statement notation in Pepper Flash docs X-Git-Tag: v0.28.0~12^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c78a3ff7149e48f3506a4b4f316fbaabbca1960d;p=electron.git Replace shorthand if-statement notation in Pepper Flash docs --- diff --git a/docs/tutorial/using-pepper-flash-plugin.md b/docs/tutorial/using-pepper-flash-plugin.md index bbb37862..20b29c41 100644 --- a/docs/tutorial/using-pepper-flash-plugin.md +++ b/docs/tutorial/using-pepper-flash-plugin.md @@ -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.