mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
No need to use => when we could use ->.
This commit is contained in:
@@ -196,11 +196,11 @@ class AtomApplication
|
||||
ipc.on 'command', (processId, routingId, command) =>
|
||||
@emit(command)
|
||||
|
||||
ipc.on 'window-command', (processId, routingId, command, args...) =>
|
||||
ipc.on 'window-command', (processId, routingId, command, args...) ->
|
||||
win = BrowserWindow.fromProcessIdAndRoutingId(processId, routingId)
|
||||
win.emit(command, args...)
|
||||
|
||||
ipc.on 'call-window-method', (processId, routingId, method, args...) =>
|
||||
ipc.on 'call-window-method', (processId, routingId, method, args...) ->
|
||||
win = BrowserWindow.fromProcessIdAndRoutingId(processId, routingId)
|
||||
win[method](args...)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user