es6ify
This commit is contained in:
parent
3928564314
commit
0cf89600c0
3 changed files with 9 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
init: init
|
||||
init
|
||||
}
|
||||
|
||||
var debug = require('debug')('webtorrent-app:ipcMain')
|
||||
|
|
|
|||
14
main/menu.js
14
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')
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
init: init
|
||||
init
|
||||
}
|
||||
|
||||
var electron = require('electron')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue