Show inspector with javascript

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-01-25 12:29:36 -08:00
parent c11a618a9f
commit 430869b7e0
2 changed files with 3 additions and 3 deletions

View File

@@ -88,9 +88,7 @@
NSURLRequest *request = [NSURLRequest requestWithURL:indexURL];
[[self.webView mainFrame] loadRequest:request];
[[self.webView inspector] showConsole:self];
[self blockUntilWebViewLoads];
}

View File

@@ -13,6 +13,8 @@ windowAdditions =
menuItemActions: null
startup: ->
@showConsole()
@menuItemActions = {}
@rootView = RootView.build(url: $atomController.url?.toString())
$('body').append @rootView