mirror of
https://github.com/atom/atom.git
synced 2026-02-09 14:15:24 -05:00
Make dev tools work with specs
This commit is contained in:
@@ -177,5 +177,4 @@ class RootView extends View
|
||||
require atom.userConfigurationPath if fs.exists(atom.userConfigurationPath)
|
||||
catch error
|
||||
console.error "Failed to load `#{atom.userConfigurationPath}`", error.message, error
|
||||
window.showConsole()
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ windowAdditions =
|
||||
$native.toggleDevTools()
|
||||
|
||||
onerror: ->
|
||||
@showConsole()
|
||||
$native.showDevTools()
|
||||
|
||||
window[key] = value for key, value of windowAdditions
|
||||
window.setUpKeymap()
|
||||
|
||||
Reference in New Issue
Block a user