Fix formatting.

This commit is contained in:
Michael Teeuw 2016-07-30 15:58:51 +02:00 committed by GitHub
parent 8a066a4ec0
commit 5be8084473

View File

@ -28,9 +28,9 @@ function createWindow() {
mainWindow.loadURL("http://localhost:" + config.port); mainWindow.loadURL("http://localhost:" + config.port);
// Open the DevTools if run with "npm start dev" // Open the DevTools if run with "npm start dev"
if(process.argv[2] == "dev"){ if(process.argv[2] == "dev"){
mainWindow.webContents.openDevTools(); mainWindow.webContents.openDevTools();
} }
// Emitted when the window is closed. // Emitted when the window is closed.
mainWindow.on("closed", function() { mainWindow.on("closed", function() {