Use object shorthand for properties
This commit is contained in:
@@ -81,7 +81,7 @@ function init () {
|
||||
isReady = true
|
||||
const state = results.state
|
||||
|
||||
windows.main.init(state, { hidden: hidden })
|
||||
windows.main.init(state, { hidden })
|
||||
windows.webtorrent.init()
|
||||
menu.init()
|
||||
|
||||
|
||||
@@ -235,8 +235,8 @@ function init () {
|
||||
} else {
|
||||
// Queue message for webtorrent window, it hasn't finished loading yet
|
||||
messageQueueMainToWebTorrent.push({
|
||||
name: name,
|
||||
args: args
|
||||
name,
|
||||
args
|
||||
})
|
||||
log('webtorrent: queueing %s', name)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user