Remove unneeded ?

AtomWindow always has a non-null browserWindow property
This commit is contained in:
Kevin Sawicki
2014-04-17 11:42:57 -07:00
parent 9128041c20
commit e37fc316fb

View File

@@ -142,7 +142,7 @@ class AtomApplication
@on 'application:open-dev', -> @promptForPath(devMode: true)
@on 'application:inspect', ({x,y, atomWindow}) ->
atomWindow ?= @focusedWindow()
atomWindow?.browserWindow?.inspectElement(x, y)
atomWindow?.browserWindow.inspectElement(x, y)
@on 'application:open-documentation', -> shell.openExternal('https://atom.io/docs/latest/?app')
@on 'application:install-update', -> @autoUpdateManager.install()