Move unrelated code out of menu.js and ipc.js

This commit is contained in:
Feross Aboukhadijeh
2016-05-29 01:09:42 -07:00
parent d4efebd694
commit 62cb304971
16 changed files with 469 additions and 403 deletions

View File

@@ -1,12 +1,12 @@
var about = module.exports = {
create,
init,
win: null
}
var config = require('../../config')
var electron = require('electron')
function create () {
function init () {
if (about.win) {
return about.win.show()
}