From 0cf89600c01da84409410ea0d1ccc5077b5f1307 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Fri, 25 Mar 2016 23:49:04 -0700 Subject: [PATCH] es6ify --- main/ipc.js | 2 +- main/menu.js | 14 +++++++------- main/shortcuts.js | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/main/ipc.js b/main/ipc.js index 9439d973..8ec80b94 100644 --- a/main/ipc.js +++ b/main/ipc.js @@ -1,5 +1,5 @@ module.exports = { - init: init + init } var debug = require('debug')('webtorrent-app:ipcMain') diff --git a/main/menu.js b/main/menu.js index dc4eb038..6aa9583e 100644 --- a/main/menu.js +++ b/main/menu.js @@ -1,11 +1,11 @@ module.exports = { - init: init, - onToggleFullScreen: onToggleFullScreen, - onWindowHide: onWindowHide, - onWindowShow: onWindowShow, - showOpenTorrentFile: showOpenTorrentFile, - showCreateTorrent: showCreateTorrent, - toggleFullScreen: toggleFullScreen + init, + onToggleFullScreen, + onWindowHide, + onWindowShow, + showCreateTorrent, + showOpenTorrentFile, + toggleFullScreen } var debug = require('debug')('webtorrent-app:menu') diff --git a/main/shortcuts.js b/main/shortcuts.js index 589c9fa0..abe4698a 100644 --- a/main/shortcuts.js +++ b/main/shortcuts.js @@ -1,5 +1,5 @@ module.exports = { - init: init + init } var electron = require('electron')