Some minor codestyle improvements due to jshint

This commit is contained in:
Kolja Lampe
2016-08-29 23:40:11 +02:00
committed by Kolja Lampe
parent 7834c5a834
commit b59f501a82
13 changed files with 46 additions and 47 deletions

View File

@@ -2,8 +2,7 @@
const {
app,
Menu,
MenuItem
Menu
} = require('electron');
function createTemplate(mainWindow, config) {
@@ -48,7 +47,7 @@ var createMenu = function(mainWindow, config) {
};
function showOrRestore(window) {
window.isMinimized() ? window.restore() : window.show()
window.isMinimized() ? window.restore() : window.show();
}
module.exports = {