Make dev tools work with specs

This commit is contained in:
Corey Johnson
2012-06-26 16:38:06 -07:00
parent 3efcc50a0d
commit 1059a6a495
5 changed files with 6 additions and 7 deletions

View File

@@ -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()

View File

@@ -72,7 +72,7 @@ windowAdditions =
$native.toggleDevTools()
onerror: ->
@showConsole()
$native.showDevTools()
window[key] = value for key, value of windowAdditions
window.setUpKeymap()